Evaluations

List dataset items

Returns the test cases in a dataset, oldest first

get/v1/projects/{project_id}/datasets/{dataset_id}/items

Request

  • Base URL: https://api.naturali.ai
  • URL: https://api.naturali.ai/v1/projects/{project_id}/datasets/{dataset_id}/items
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)

Path parameters

dataset_idstring required
Example:dset_V1StGXR8Z5jdHi6B

Dataset ID

Query parameters

limitinteger

Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is 400.

offsetinteger

Results to skip. Negative or not an integer it is 400.

Response

List of dataset items

totalinteger required
limitinteger required
offsetinteger required

Example response

{
  "data": [
    {
      "id": "dsit_V1StGXR8Z5jdHi6B",
      "dataset_id": "dset_V1StGXR8Z5jdHi6B",
      "input": [
        {
          "role": "user",
          "content": "When is my invoice issued?"
        }
      ],
      "metadata": {
        "author": "John",
        "revision": 2
      },
      "source_generation_id": "gen_V1StGXR8Z5jdHi6B"
    }
  ]
}

Changes

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