ReferenceAPI referenceWorkflows
List durable workflow runs
GET
/organizations/{organization_id}/workflow-runstasuku_session<token>
In: cookie
Path Parameters
organization_id*string
Length
1 <= length <= 128Query Parameters
repository_id?string
Length
1 <= length <= 128status?string
Value in
- "RECEIVED"
- "QUEUED"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "TIMED_OUT"
- "CANCELLED"
- "SUPERSEDED"
- "DEAD"
cursor?string
page_size?integer
Range
1 <= value <= 100Default
20Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/organizations/string/workflow-runs"{ "data": [ { "id": "string", "organization_id": "string", "repository_id": "string", "pull_request_number": 1, "workflow_type": "string", "status": "RECEIVED", "current_phase": "string", "provider": "string", "model": "string", "sandbox_provider": "string", "sandbox_id": "string", "base_sha": "string", "head_sha": "string", "input_snapshot": {}, "usage": {}, "error_code": "string", "error_message": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "meta": { "previous_cursor": "string", "next_cursor": "string" }}