curl --request GET \
--url https://api.runloop.ai/v1/benchmarks/runs/{id}/scenario_runs \
--header 'Authorization: Bearer <token>'{
"runs": [
{
"id": "<string>",
"scenario_id": "<string>",
"devbox_id": "<string>",
"state": "running",
"metadata": {},
"name": "<string>",
"benchmark_run_id": "<string>",
"scoring_contract_result": {
"score": 123,
"scoring_function_results": [
{
"score": 123,
"scoring_function_name": "<string>",
"output": "<string>",
"state": "unknown"
}
]
},
"start_time_ms": 123,
"duration_ms": 123,
"purpose": "<string>",
"environment_variables": {},
"secrets_provided": {}
}
],
"has_more": true,
"total_count": 123
}List started scenario runs for a benchmark run.
curl --request GET \
--url https://api.runloop.ai/v1/benchmarks/runs/{id}/scenario_runs \
--header 'Authorization: Bearer <token>'{
"runs": [
{
"id": "<string>",
"scenario_id": "<string>",
"devbox_id": "<string>",
"state": "running",
"metadata": {},
"name": "<string>",
"benchmark_run_id": "<string>",
"scoring_contract_result": {
"score": 123,
"scoring_function_results": [
{
"score": 123,
"scoring_function_name": "<string>",
"output": "<string>",
"state": "unknown"
}
]
},
"start_time_ms": 123,
"duration_ms": 123,
"purpose": "<string>",
"environment_variables": {},
"secrets_provided": {}
}
],
"has_more": true,
"total_count": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The BenchmarkRun ID.
Filter by Scenario Run state
running, scoring, scored, completed, canceled, timeout, failed The limit of items to return. Default is 20. Max is 5000.
Load the next page of data starting after the item with the given ID.
If true (default), includes total_count in the response. Set to false to skip the count query for better performance on large datasets.
Was this page helpful?