/v1/private/experiments/streamStream experimentsStream experiments
Request body
application/json
last_retrieved_idstring · uuidlimitinteger · int32namestringrequiredproject_namestring{
"last_retrieved_id": "00000000-0000-0000-0000-000000000000",
"limit": 0,
"name": "string",
"project_name": "string"
}Responses
Show array items
anyOf · 2 options
assertion_scoresarray of objectPer-assertion average pass rates for test suite experiments. Null for regular experiments.
Show child attributes
Show array items
Per-assertion average pass rates for test suite experiments. Null for regular experiments.
namestringrequiredvaluenumberrequiredcommentsarray of objectShow child attributes
Show array items
created_atstring · date-timecreated_bystringidstring · uuidlast_updated_atstring · date-timelast_updated_bystringsource_queue_idstring · uuidtextstringrequiredcreated_atstring · date-timecreated_bystringdataset_idstring · uuiddataset_item_countinteger · int64dataset_namenull | stringrequireddataset_version_idstring · uuidID 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_summaryobjectSummary of the latest dataset version
Show child attributes
change_descriptionstringDescription of changes in this version
idstring · uuidUnique identifier of the version
tagsarray of stringTags associated with this version
Show child attributes
version_hashstringHash of the version content
version_namestringSequential version name formatted as 'v1', 'v2', etc.
durationobjectShow child attributes
p50numberp90numberp99numberevaluation_methodstringexperiment_scoresarray of objectShow child attributes
Show array items
namestringrequiredvaluenumberrequiredfeedback_scoresarray of objectShow child attributes
Show array items
namestringrequiredvaluenumberrequiredidstring · uuidlast_updated_atstring · date-timelast_updated_bystringmetadataobjectShow child attributes
anyOf · 3 options
namestringoptimization_idstring · uuidpass_ratenumberPass rate for test suite experiments (0.0-1.0). Null for regular experiments.
passed_countinteger · int64Number of items that passed for test suite experiments. Null for regular experiments.
project_idstring · uuidProject ID. Takes precedence over project_name when both are provided.
project_namestringProject name. Creates project if it doesn't exist. Ignored when project_id is provided.
prompt_versionobjectShow child attributes
commitstringprompt_idstring · uuidprompt_namestringprompt_version_idstring · uuidprompt_versionsarray of objectShow child attributes
statusstringtagsarray of stringShow child attributes
total_countinteger · int64Total number of items for test suite experiments. Null for regular experiments.
total_estimated_costnumbertotal_estimated_cost_avgnumbertrace_countinteger · int64typestringusageobjectcodeinteger · int32detailsstringmessagestring[
{
"code": 0,
"details": "string",
"message": "string"
}
]