Sazabi
APIRuns

List runs

GET
/runs

List deferred runs within one project.

Query Parameters

projectId?string

Project ID to list runs for. Auto-filled from CLI and SDK context when omitted.

Formatuuid
limit?integer

Maximum number of runs to return per page.

Range1 <= value <= 100
Default50
cursor?string

Cursor from a previous response's nextCursor to fetch the next page.

Formatdate-time

Response Body

application/json

curl -X GET "https://example.com/runs"
{  "runs": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "threadId": "51f72284-0555-48fe-a20a-4369ee94dc3e",      "userMessageId": "213e61c8-c98a-43da-84bd-347b3cdc3eec",      "assistantMessageId": "87560ab8-c403-47a6-9a61-12fad374edc9",      "workflowRunId": "string",      "status": "processing",      "source": "app",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "completedAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "2019-08-24T14:15:22Z"}