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.
Authentication
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.
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
Path parameters
Dataset ID. Use _saved_logs for the virtual saved-logs collection.
Query parameters
Sort field for dataset logs. Prefix with - for descending order.
Comma-separated list of response fields to include.
Request
Platform-standard filters keyed by field name.
Set to true to export logs instead of returning a paginated list.
Export format. Defaults to .csv.
Response
Paginated dataset logs, or an export acknowledgement when is_exporting=true.