Update a dataset log
Partially update a dataset log. Only provided fields are changed.
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.
Request
This endpoint expects an object.
input
output
expected_output
prompt
completion
metadata
Response
Updated dataset log.
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