curl --request GET \
--url https://api.example.com/api/v1/workspaces/{workspace_id}/runs \
--header 'Authorization: Bearer <token>'{
"data": [
{
"name": "<string>",
"to_be_started_at": "2023-11-07T05:31:56Z",
"schedule_id": "<string>",
"template": {
"workspace_id": "<string>",
"runner_assignment": {
"host": "SELF",
"ids": [
"<string>"
],
"tags": [
"<string>"
]
},
"workflows": [
"<string>"
],
"data": {}
},
"no": 123,
"schedule": {
"name": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"run_template": {
"workspace_id": "<string>",
"runner_assignment": {
"host": "SELF",
"ids": [
"<string>"
],
"tags": [
"<string>"
]
},
"workflows": [
"<string>"
],
"data": {}
},
"version": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "ACTIVE",
"ended_at": "2023-11-07T05:31:56Z",
"schedule": "<string>",
"ended_after": 123,
"runs_count": 0,
"next_run_to_be_started_at": "2023-11-07T05:31:56Z"
},
"version": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "UPCOMING",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z"
}
]
}curl --request GET \
--url https://api.example.com/api/v1/workspaces/{workspace_id}/runs \
--header 'Authorization: Bearer <token>'{
"data": [
{
"name": "<string>",
"to_be_started_at": "2023-11-07T05:31:56Z",
"schedule_id": "<string>",
"template": {
"workspace_id": "<string>",
"runner_assignment": {
"host": "SELF",
"ids": [
"<string>"
],
"tags": [
"<string>"
]
},
"workflows": [
"<string>"
],
"data": {}
},
"no": 123,
"schedule": {
"name": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"run_template": {
"workspace_id": "<string>",
"runner_assignment": {
"host": "SELF",
"ids": [
"<string>"
],
"tags": [
"<string>"
]
},
"workflows": [
"<string>"
],
"data": {}
},
"version": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "ACTIVE",
"ended_at": "2023-11-07T05:31:56Z",
"schedule": "<string>",
"ended_after": 123,
"runs_count": 0,
"next_run_to_be_started_at": "2023-11-07T05:31:56Z"
},
"version": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "UPCOMING",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
ACTIVE, SUSPENDED, ENDED UPCOMING, PENDING, RUNNING, SKIPPED, SKIPPED_NOTHING_TO_RUN, PASSED_NOT_YET_REPORTED, FAILED_NOT_YET_REPORTED, PASSED, FAILED, CANCELED, SUSPENDED Was this page helpful?