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

GET /v2/evals/datasets

List Eval Datasets

get

List matching project datasets; contract-drift warnings are available on detail reads.

How to use

Supply project_id. Use search or feeds_* compatibility filters to narrow the list. Read a dataset detail for current contract-drift warnings rather than assuming a listed dataset still matches the workflow.

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
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
feeds_input_kindstring · enum · nullableOptional

With the other feeds_* params: keep only datasets whose capture can feed this contract

Possible values:
feeds_input_keysstring[] · nullableOptional

Contract input keys; repeat the param

feeds_output_node_idsstring[] · nullableOptional

Contract output node ids; repeat the param

Responses
200

Successful Response

application/json
response_codestring · nullableOptional

Machine-readable response code, when provided.

offsetintegerOptionalDefault: 0
limitintegerOptionalDefault: 50
totalintegerOptionalDefault: 0
get/v2/evals/datasets
curl
curl --fail-with-body -sS --get \
  "$STACKAI_BASE_URL/v2/evals/datasets" \
  -H "Authorization: Bearer $STACKAI_API_KEY" \
  --data-urlencode "project_id=${PROJECT_ID}"
{
  "response_code": "text",
  "meta": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "data": [
    {
      "dataset_id": "123e4567-e89b-12d3-a456-426614174000",
      "project_id": "text",
      "name": "text",
      "description": "text",
      "node_contract": {
        "input_kind": "start_node",
        "input_keys": [
          "text"
        ],
        "output_node_ids": [
          "text"
        ]
      },
      "max_rows": 1,
      "created_by": "123e4567-e89b-12d3-a456-426614174000",
      "updated_by": "123e4567-e89b-12d3-a456-426614174000",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "offset": 0,
  "limit": 50,
  "total": 0
}

Last updated

Was this helpful?