For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /v2/evals/experiments

List Eval Experiments

get

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.

Authorizations
AuthorizationstringRequired

Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.

Query parameters
project_idstring · min: 1Required
dataset_idstring · uuid · nullableOptional
searchstring · min: 1 · max: 200 · nullableOptional

Case-insensitive name/description match

offsetintegerOptional

Number of items to skip.

Default: 0
limitinteger · min: 1 · max: 100Optional

Maximum number of items to return.

Default: 50
Responses
200

Successful Response

application/json
response_codestring · nullableOptional

Machine-readable response code, when provided.

offsetintegerOptionalDefault: 0
limitintegerOptionalDefault: 50
totalintegerOptionalDefault: 0
get/v2/evals/experiments
curl
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?