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, 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.

OR
AuthorizationBearer

Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.

Path parameters

experiment_idstringRequired

Experiment ID returned as id in experiment responses.

Response

Experiment details.
idstring
Experiment ID.
namestring
Experiment name.
statusstring
Experiment execution status.
created_atdatetime
descriptionstring or nullOptional
Experiment description.
datasetstring or nullOptional
Dataset ID associated with the experiment.
dataset_idstring or nullOptional
Dataset ID associated with the experiment.
dataset_namestring or nullOptional
Dataset name, when available.
workflow_countintegerOptional
Number of workflow steps.
progressdoubleOptional
Execution progress percentage.
started_atdatetime or nullOptional
completed_atdatetime or nullOptional
tagslist of maps from strings to anyOptional
Tags attached to the experiment.
workflowlist of objectsOptional
Workflow tasks configured for the experiment.
evaluator_idslist of stringsOptional
Evaluator IDs used for scoring.
evaluator_slugslist of stringsOptional

Backward-compatible evaluator identifiers stored by the backend.

evaluator_workflow_idslist of stringsOptional

Eval-only workflow versions used for scoring.

batch_sizeintegerOptional
concurrencyintegerOptional
enable_tracingbooleanOptional
error_messagestring or nullOptional
Failure details when status is failed.

Errors

401
Unauthorized Error
404
Not Found Error