Retrieve an experiment
Retrieve an experiment by ID, including workflow and scoring configuration.
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.
OR
AuthorizationBearer
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
Path parameters
experiment_id
Experiment ID returned as id in experiment responses.
Response
Experiment details.
id
Experiment ID.
name
Experiment name.
status
Experiment execution status.
created_at
description
Experiment description.
dataset
Dataset ID associated with the experiment.
dataset_id
Dataset ID associated with the experiment.
dataset_name
Dataset name, when available.
workflow_count
Number of workflow steps.
progress
Execution progress percentage.
started_at
completed_at
workflow
Workflow tasks configured for the experiment.
evaluator_ids
Evaluator IDs used for scoring.
evaluator_slugs
Backward-compatible evaluator identifiers stored by the backend.
evaluator_workflow_ids
Eval-only workflow versions used for scoring.
batch_size
concurrency
enable_tracing
error_message
Failure details when status is failed.
Errors
401
Unauthorized Error
404
Not Found Error