List dataset logs
List logs in a dataset with filters and pagination. Set is_exporting=true to trigger an asynchronous CSV or JSONL export instead of returning results.
Path parameters
Dataset ID. Use _saved_logs for the virtual saved-logs collection.
Query parameters
Page number.
Results per page. Maximum is 100.
Sort field for dataset logs. Prefix with - for descending order.
Comma-separated list of response fields to include.
Headers
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 dataset logs, or an export acknowledgement when is_exporting=true.