List thread
Retrieve threads matching the specified filters with pagination.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
OR
AuthorizationBearer
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
Query parameters
page
The page number to retrieve.
page_size
The number of items per page. Maximum is 1000.
environment
This is controlled by the API key. A prod API key creates prod threads, test key creates test threads.
Response
Paginated list of threads.
count
Total matching threads.
next
Next page URL.
previous
Previous page URL.
results
Errors
401
Unauthorized Error
413
Content Too Large Error