Blog
Read the latest blogs
Find tutorials, guides and use case examples in the
Learning centerThe Get Flow Info API returns detailed information about a specific flow or a sub-flow, focusing on the DateModify field, which gets updated when changes are made from the canvas. This field is essential for accurate modification tracking, allowing users to reliably determine the last update time of a flow or sub-flow.
The DateModify field is triggered and updated in the following scenarios:
http://{controllerMachine}:{controllerPort}/api/v4/flowinfo/{itemId}
Field | Type | Description | Comments |
---|---|---|---|
itemId | string |
Required: Unique identifier for items in the Asset hierarchy |
The itemId can be from the following types of items: - 'Flow' - 'SubFlow' |
curl -X GET --header 'Accept: application/json' --header 'AccessKey: {yourAccessKey}' 'http://{controllerMachine}:{controllerPort}/api/v4/flowinfo/{itemId}'
$headers = @{}
$headers.Add("AccessKey","123qwe")
Invoke-WebRequest -Uri "http://{controllerMachine}:{controllerPort}/api/v4/flowinfo/{itemId}" -ContentType "application/json" -Headers $headers -Method GET
List of Variables
{ |
Field | Type | Description | Values |
---|---|---|---|
Title | string | Title of the flow or sub-flow | |
Type | string | Type of item |
'Flow', 'SubFlow' |
DateCreation | string |
Static creation date of the flow or sub-flow |
Format: 'MM-DD-YYYY HH:MM:SS +00:00' |
DateModify | string |
Last modification date of the flow or sub-flow |
Format: 'MM-DD-YYYY HH:MM:SS +00:00' |
IsDeleted |
int | Deletion status |
0: not deleted 1: deleted |
TimeoutSeconds |
int |
Timeout in seconds |
|
DefaultTimeoutSec |
int |
Default timeout in seconds |
|
EnvironmentId |
string |
Unique identifier for the environment |
|
Status |
string |
Current status of the flow |
Draft, Publish, Back to draft, Retire |
AssigneeUserId |
string |
Unique identifier for the user assigned to the flow |
|
AgentConfigurationId |
string |
Unique identifier for the agent configuration |
Response Code
200 (OK)
404 (Not Found)
401 (Unauthorized, Incorrect access Keys)
400 (Bad Request)
404 (Asset Not Found)
500 (Internal Server Error)
©2024, Leapwork. All rights reserved.