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, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
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.