Offline Eval

Read one dataset version and a page of its test cases

Read an immutable snapshot: the version plus its cases, whole or a page at a time.

Paging is opt-in through limit, because the released SDKs pull a version with one request and never follow next_cursor; a default page would silently truncate them. A version's case set is unbounded in practice, so any other caller should page. input/expected come back as native JSON values.

get/api/v1/public/dataset-versions/{version_id}

Request

  • Base URL
    https://app.traceroot.ai
  • URL
    https://app.traceroot.ai/api/v1/public/dataset-versions/{version_id}
  • Auth
    HTTP bearer

Path parameters

version_idstring required

Query parameters

limitinteger nullable

Test cases per page. Omit it, with no cursor, to receive the whole version in one response, as an SDK pulling the snapshot it will run does; pass it to page.

cursorstring nullable

Opaque cursor from a previous page

project_idstring nullable

Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.

Response

Successful Response

dataset_idstring required
dataset_version_idstring required
labelstring nullable required
next_cursorstring nullable required
version_numberinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.