listExecutions
GET
/api/v1/executions
const url = 'https://example.com/api/v1/executions?trigger_type=manual&sort=created&limit=50';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/executions?trigger_type=manual&sort=created&limit=50'Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”state
Comma-separated execution states.
string
Comma-separated execution states.
namespace
Namespace and its children.
string
Namespace and its children.
flow
Flow as
string
Flow as
trigger_type
string
label
Label filter key=value. Repeat for several labels.
Array<string>
Label filter key=value. Repeat for several labels.
from
string format: date-time
to
string format: date-time
sort
string
cursor
Opaque cursor from next_cursor of the previous page.
string
Opaque cursor from next_cursor of the previous page.
limit
integer format: int64
Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
items
required
Array<object>
object
created_at
required
string format: date-time
created_by
required
string
duration_ms
integer | null format: int64
ended_at
string | null format: date-time
error
required
string
flow_id
Flow ID. Null for file runs.
string | null
id
required
string
labels
required
object
key
additional properties
string
namespace
required
string
reason
required
string
started_at
string | null format: date-time
state
required
string
trigger_type
required
string
key
additional properties
any
next_cursor
string
key
additional properties
any
Example
{ "items": [ { "state": "QUEUED" } ]}default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
details
message
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "details": "example", "message": "example" }}