GET /v2/evals/experiments
List a project's experiments and their aggregate scores.
How to use
Supply project_id and optionally dataset_id/search. Use aggregates to locate an experiment, then inspect detail and row-level results before comparing quality.
Authentication and permissions
Required permissions: evals.read. Resource and owner access checks also apply.
Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.
Case-insensitive name/description match
Number of items to skip.
0Maximum number of items to return.
50Successful Response
Machine-readable response code, when provided.
0500Invalid request or pagination cursor
Missing or invalid credentials
Denied permission, project folder access, or API-key scope (meta.required_scope)
Resource not found in the caller's organization
Client error returned in the public API envelope
curl --fail-with-body -sS --get \
"$STACKAI_BASE_URL/v2/evals/experiments" \
-H "Authorization: Bearer $STACKAI_API_KEY" \
--data-urlencode "project_id=${PROJECT_ID}"{
"response_code": "text",
"meta": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": [
{
"experiment": {
"experiment_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "text",
"dataset_id": "123e4567-e89b-12d3-a456-426614174000",
"dataset_name": "text",
"project_version_id": "text",
"node_contract": {
"input_kind": "start_node",
"input_keys": [
"text"
],
"output_node_ids": [
"text"
]
},
"name": "text",
"notes": "text",
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
},
"aggregates": [
{
"evaluator_id": "123e4567-e89b-12d3-a456-426614174000",
"evaluator_name": "text",
"score_kind": "numeric",
"aggregate": 1,
"scored_count": 1,
"judge_failed_count": 1,
"choice_counts": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"run_stats": {
"avg_latency_seconds": 1,
"avg_tokens": 1
}
}
],
"offset": 0,
"limit": 50,
"total": 0
}Last updated
Was this helpful?

