Sazabi
APIThreads

List threads

GET
/threads

List threads in a project, optionally filtered by status.

Query Parameters

projectId?string

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

Formatuuid
limit?integer

Maximum number of threads to return per page.

Range1 <= value <= 100
Default50
cursor?string

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

Formatuuid
status?string

Filter by thread status. 'regular' returns active threads, 'archived' returns archived threads.

Value in

  • "regular"
  • "archived"

Response Body

application/json

curl -X GET "https://example.com/threads"
{  "threads": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "title": "string",      "status": "regular",      "source": "slack",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "53a4a333-2825-45a4-80d2-5f430d088f36"}