Skip to content
Last updated

List all threads associated with a space.

GEThttps://api.aitronos.com/v1/spaces/{space_id}/threads

Retrieve all threads that have been added to a space. Returns paginated results with cursor-based pagination. Requires view access to the space.

Path Parameters

space_id string required

The unique identifier of the space.

Query Parameters

limit integer optional ยท Defaults to 50

Maximum number of threads to return. Must be between 1 and 100.

cursor string optional

Pagination cursor from a previous response's next_cursor field.


Returns

An object containing a data array of thread objects, a has_more boolean indicating whether more results are available, and a next_cursor string for fetching the next page.

cURL
curl "https://api.aitronos.com/v1/spaces/space_abc123/threads?limit=20" \
  -H "X-API-Key: $FREDDY_API_KEY"