GET /v2/evals/datasets
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.
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.
50With the other feeds_* params: keep only datasets whose capture can feed this contract
Contract input keys; repeat the param
Contract output node ids; repeat the param
Successful 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
Invalid evaluation contract, row shape, evaluator configuration, or filter combination
Client error returned in the public API envelope
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?

