APIRuns
List runs for a thread
List deferred runs for one thread.
Path Parameters
threadId*string
Thread ID to list runs for.
Format
uuidQuery Parameters
limit?integer
Maximum number of runs to return per page.
Range
1 <= value <= 100Default
50cursor?string
Cursor from a previous response's nextCursor to fetch the next page.
Format
date-timeResponse Body
application/json
curl -X GET "https://example.com/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/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"}