4e064cf81dae

latestOpenAPI 3.1.02026-08-131831,331960.0 KB
threads

List thread

Retrieve threads matching the specified filters with pagination.

post/api/log_threads/

Query parameters

pageinteger

The page number to retrieve.

page_sizeinteger

The number of items per page. Maximum is 1000.

environmentstring

This is controlled by the API key. A prod API key creates prod threads, test key creates test threads.

Headers

Authorizationstring required

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.

Request body

Response

Paginated list of threads.

countinteger

Total matching threads.

nextstring nullable

Next page URL.

previousstring nullable

Previous page URL.