Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Find dataset items with experiment items

GET/v1/private/datasets/{id}/items/experiments/itemsFind dataset items with experiment items

Find dataset items with experiment items

Parameters

idstring · uuidpathrequired
pageinteger · int32query

default 1 · minimum 1

sizeinteger · int32query

default 10 · minimum 1

experiment_idsstringqueryrequired
filtersstringquery
sortingstringquery
searchstringquery
truncatebooleanquery

Truncate image included in either input, output or metadata

Responses

200Dataset item resourceapplication/json
objectDatasetItemPage_Compare
columnsarray of object

uniqueItems true

Show child attributes

uniqueItems true

Show array items
filterFieldstring

The field to use for filtering

filter_field_prefixstring
namestring
typesarray of string

uniqueItems true

Show child attributes

uniqueItems true

contentarray of object
Show child attributes
Show array items
created_atstring · date-time
created_bystring
dataobjectrequired
dataset_idstring · uuid
dataset_item_idstring · uuid

Deprecated. Always equals 'id'. Retained for backward compatibility and will be removed in a future version

descriptionstring

pattern (?s)^\s*(\S.*\S|\S)\s*$

evaluatorsarray of object
Show child attributes
Show array items
configobjectrequired
namestringrequired

minLength 1

typestringrequired

one of "llm_judge", "code_metric"

execution_policyobject
Show child attributes
pass_thresholdinteger · int32

maximum 100 · minimum 1

runs_per_iteminteger · int32

maximum 100 · minimum 1

experiment_itemsarray of object
Show child attributes
Show array items
assertion_resultsarray of object
Show child attributes
Show array items
passedboolean
reasonstring
valuestring
commentsarray of object
Show child attributes
Show array items
created_atstring · date-time
created_bystring
idstring · uuid
last_updated_atstring · date-time
last_updated_bystring
source_queue_idstring · uuid
textstringrequired

minLength 1

created_atstring · date-time
created_bystring
dataset_item_idstring · uuidrequired
descriptionstring
durationnumber · double
execution_policyobjectExecutionPolicy_Compare ↑
experiment_idstring · uuidrequired
feedback_scoresarray of object
Show child attributes
Show array items
category_namestring
created_atstring · date-time
created_bystring
last_updated_atstring · date-time
last_updated_bystring
namestringrequired

minLength 1

reasonstring
sourcestringrequired

one of "ui", "sdk", "online_scoring"

source_queue_idstring · uuid
valuenumberrequired

maximum 1000000000 · minimum -1000000000

value_by_authorobject
idstring · uuid
inputobject
Show child attributes
anyOf · 3 options
Option 1object
Option 2array of object
Option 3string
last_updated_atstring · date-time
last_updated_bystring
project_idstring · uuid
statusstring

one of "passed", "failed"

total_estimated_costnumber
trace_idstring · uuidrequired
trace_metadataobjectJsonListString_Compare ↑
trace_visibility_modestring

one of "default", "hidden"

usageobject
idstring · uuid

Stable item identifier. On write, used as the upsert key. If omitted, a new ID is generated. Remains the same across dataset versions

last_updated_atstring · date-time
last_updated_bystring
run_summaries_by_experimentobject
sourcestringrequired

one of "manual", "trace", "span", "sdk"

span_idstring · uuid
tagsarray of string

uniqueItems true

Show child attributes

uniqueItems true

trace_idstring · uuid
pageinteger · int32
sizeinteger · int32
sortableByarray of string
Show child attributes
totalinteger · int64
Example response
{
  "columns": [
    {
      "filterField": "string",
      "filter_field_prefix": "string",
      "name": "string",
      "types": [
        "array"
      ]
    }
  ],
  "content": [
    {
      "created_at": "2026-06-09T00:00:00Z",
      "created_by": "string",
      "data": {},
      "dataset_id": "00000000-0000-0000-0000-000000000000",
      "dataset_item_id": "00000000-0000-0000-0000-000000000000",
      "description": "string",
      "evaluators": [
        {
          "config": {},
          "name": "string",
          "type": "code_metric"
        }
      ],
      "execution_policy": {
        "pass_threshold": 0,
        "runs_per_item": 0
      },
      "experiment_items": [
        {
          "assertion_results": [
            {
              "passed": true,
              "reason": "string",
              "value": "string"
            }
          ],
          "comments": [
            {
              "created_at": "2026-06-09T00:00:00Z",
              "created_by": "string",
              "id": "00000000-0000-0000-0000-000000000000",
              "last_updated_at": "2026-06-09T00:00:00Z",
              "last_updated_by": "string",
              "source_queue_id": "00000000-0000-0000-0000-000000000000",
              "text": "string"
            }
          ],
          "created_at": "2026-06-09T00:00:00Z",
          "created_by": "string",
          "dataset_item_id": "00000000-0000-0000-0000-000000000000",
          "description": "string",
          "duration": 0,
          "execution_policy": {
            "pass_threshold": 0,
            "runs_per_item": 0
          },
          "experiment_id": "00000000-0000-0000-0000-000000000000",
          "feedback_scores": [
            {
              "category_name": "string",
              "created_at": "2026-06-09T00:00:00Z",
              "created_by": "string",
              "last_updated_at": "2026-06-09T00:00:00Z",
              "last_updated_by": "string",
              "name": "string",
              "reason": "string",
              "source": "online_scoring",
              "source_queue_id": "00000000-0000-0000-0000-000000000000",
              "value": 0,
              "value_by_author": {
                "additionalProp1": {
                  "author": "string",
                  "category_name": "string",
                  "last_updated_at": "2026-06-09T00:00:00Z",
                  "reason": "string",
                  "source": "online_scoring",
                  "source_queue_id": "string",
                  "span_id": "string",
                  "span_type": "string",
                  "value": 0
                }
              }
            }
          ],
          "id": "00000000-0000-0000-0000-000000000000",
          "input": [
            {}
          ],
          "last_updated_at": "2026-06-09T00:00:00Z",
          "last_updated_by": "string",
          "output": [
            {}
          ],
          "project_id": "00000000-0000-0000-0000-000000000000",
          "status": "failed",
          "total_estimated_cost": 0,
          "trace_id": "00000000-0000-0000-0000-000000000000",
          "trace_metadata": [
            {}
          ],
          "trace_visibility_mode": "default",
          "usage": {
            "additionalProp1": 0
          }
        }
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "source": "manual"
    }
  ]
}
Documentation menu