Blog
Read the latest blogs
Find tutorials, guides and use case examples in the
Learning centerGet All Run Ids by Flow Id returns a list of all RunItemId of a flow execution specified by the FlowId.
RunItemId is a unique Id for the individual run instance of a flow.
http://{controllerMachine}:{controllerPort}/api/v4/flows/flowid/runItems/all
Field | Type | Description | Comment |
---|---|---|---|
flowId | string | Unique identifier for Flow | FlowId can be fetched by right clicking the flow in editor and choosing the Get Id option or from Get Run Item by Id |
curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb' 'http://{controllerMachine}:{controllerPort}/api/v4/flows/99b7c050-02bd-4a37-b1d5-8f69ed42ab96/runItems/all'
$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "'http://{controllerMachine}:{controllerPort}/api/v4/flows/99b7c050-02bd-4a37-b1d5-8f69ed42ab96/runItems/all" -ContentType "application/json" -Headers $headers -Method GET
Returns a list of runItemIds:
{ |
Field | Type | Description | Comment |
---|---|---|---|
$id | string | ID of the internal object | |
RunItemId | list | RunItemId is a unique Id for the individual run instance of a flow |
List of response codes:
200 (OK)
404 (Not Found)
401 (Unauthorized)
400 (Bad Request)
405 (Method Not Allowed)
500 (Internal Server Error)
©2024, Leapwork. All rights reserved.