Retrieve a dataset log
Retrieve the full dataset log object, including input/output data, metadata, and associated scores.
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, 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
Dataset ID. Use _saved_logs for the virtual saved-logs collection.
unique_id
Unique log ID within the dataset.
Response
Dataset log details.
id
Log ID.
unique_id
Unique log ID.
organization_id
environment
timestamp
start_time
prompt_tokens
completion_tokens
total_request_tokens
cost
model
latency
status_code
status
metadata
prompt
completion
messages
input
output
expected_output
dataset_id
scores
Errors
401
Unauthorized Error