Get experiment by id

Get experiment by id

Path parameters

idstringRequiredformat: "uuid"

Response

Experiment resource
dataset_namestring or null>=1 character
idstringOptionalformat: "uuid"
dataset_idstringOptionalRead-onlyformat: "uuid"
project_idstringOptionalformat: "uuid"

Project ID. Takes precedence over project_name when both are provided.

project_namestringOptionalformat: "(?s)^\s*(\S.*\S|\S)\s*$"

Project name. Creates project if it doesn’t exist. Ignored when project_id is provided.

namestringOptional
metadatamap from strings to any or list of objects or stringOptional
tagslist of stringsOptional
typeenumOptional
evaluation_methodenumOptional
optimization_idstringOptionalformat: "uuid"
feedback_scoreslist of objectsOptionalRead-only
commentslist of objectsOptionalRead-only
trace_countlongOptionalRead-only
dataset_item_countlongOptionalRead-only
created_atdatetimeOptionalRead-only
durationobjectOptional
total_estimated_costdoubleOptionalRead-only
total_estimated_cost_avgdoubleOptionalRead-only
usagemap from strings to doublesOptionalRead-only
last_updated_atdatetimeOptionalRead-only
created_bystringOptionalRead-only
last_updated_bystringOptionalRead-only
statusenumOptional
experiment_scoreslist of objectsOptional
prompt_versionobjectOptional
prompt_versionslist of objectsOptional
dataset_version_idstringOptionalformat: "uuid"
ID of the dataset version this experiment is linked to. If not provided at creation, experiment will be automatically linked to the latest version.
dataset_version_summaryobjectOptionalRead-only
Summary of the latest dataset version
pass_ratedoubleOptionalRead-only

Pass rate for test suite experiments (0.0-1.0). Null for regular experiments.

passed_countlongOptionalRead-only
Number of items that passed for test suite experiments. Null for regular experiments.
total_countlongOptionalRead-only
Total number of items for test suite experiments. Null for regular experiments.
assertion_scoreslist of objectsOptionalRead-only

Per-assertion average pass rates for test suite experiments. Null for regular experiments.

Errors

404
Not Found Error