evals_datasets_get
Read a dataset and, optionally, a page of its test cases.
Effect: This call reads data and does not run or change a project.
Inputs
dataset_id
string
Required
Dataset ID returned by dataset discovery or creation.
expand
array containing rows
Optional
Use ["rows"] to include test cases. Omitted: metadata only.
rows_cursor
string
Optional
Opaque rows_pagination.next_cursor. Requires expand: ["rows"].
rows_page_size
integer
Optional
Rows per page: default 25, maximum 100. Requires expand: ["rows"].
Example
These are MCP tool arguments, not an HTTP request body. Replace bracketed IDs with values returned from your account.
{
"dataset_id": "<dataset-id>",
"expand": [
"rows"
]
}Result
Abbreviated result example; unshown fields are omitted for clarity.
Behavior
Returns dataset metadata.
Use expand=['rows'] to fetch one row page (25 by default, cap 100); continue with rows_cursor=rows_pagination.next_cursor.
Row cursor/size require the rows expansion.
Never assume the first page is complete.
Troubleshooting
If access is denied, confirm the active organization with whoami and check access to the selected resource. Use returned IDs rather than names. For an invalid argument, follow the returned next_action and correct the request.
Related resources
Was this helpful?

