For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Copy to LLMGithubGo to App
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
DocumentationIntegrationsBuilding Self-Improving AgentsSelf-hosting OpikSDK & API reference
    • Overview
  • Python SDK
    • Reference
    • REST API Client
  • Typescript SDK
    • Overview
    • Opik TS
    • Prompts
    • Opik Query Language (OQL)
  • Rest API
    • Overview
        • POSTApply changes to dataset items
        • PATCHBatch update dataset items
        • GETFind datasets
        • POSTCreate dataset
        • PUTCreate/update dataset items
        • POSTCreate dataset items from CSV file
        • POSTCreate dataset items from spans
        • POSTCreate dataset items from traces
        • GETGet dataset by id
        • PUTUpdate dataset by id
        • DELDelete dataset by id
        • POSTDelete dataset by name
        • POSTDelete dataset items
        • POSTDelete datasets
        • GETDownload dataset export file
        • POSTExpand dataset with synthetic samples
        • GETFind dataset items with experiment items
        • POSTGet dataset by name
        • GETGet experiment items stats for dataset
        • GETGet dataset export job status
        • GETGet all dataset export jobs
        • GETGet dataset item by id
        • PATCHPartially update dataset item by id
        • GETGet dataset items
        • GETGet dataset items output columns
        • PUTMark dataset export job as viewed
        • POSTStart dataset CSV export
        • POSTStream dataset items
        • GETCompare latest version with draft
        • POSTCreate version tag
        • DELDelete version tag
        • GETList dataset versions
        • POSTRestore dataset to a previous version
        • POSTRetrieve dataset version by name
        • PATCHUpdate dataset version
LogoLogo
Copy to LLMGithubGo to App
Rest APIAPI ReferenceDatasets

Find dataset items with experiment items

GET
/v1/private/datasets/:id/items/experiments/items
GET
/api/v1/private/datasets/:id/items/experiments/items
$curl -G http://localhost:5173/api/v1/private/datasets/id/items/experiments/items \
> -d experiment_ids=experiment_ids
200Retrieved
1{
2 "content": [
3 {
4 "source": "manual",
5 "data": {},
6 "id": "string",
7 "dataset_item_id": "string",
8 "trace_id": "string",
9 "span_id": "string",
10 "description": "string",
11 "tags": [
12 "string"
13 ],
14 "evaluators": [
15 {
16 "name": "string",
17 "type": "llm_judge",
18 "config": {}
19 }
20 ],
21 "execution_policy": {
22 "runs_per_item": 1,
23 "pass_threshold": 1
24 },
25 "experiment_items": [
26 {
27 "experiment_id": "string",
28 "dataset_item_id": "string",
29 "trace_id": "string",
30 "id": "string",
31 "project_id": "string",
32 "input": {},
33 "output": {},
34 "feedback_scores": [
35 {
36 "name": "string",
37 "value": 1.1,
38 "source": "ui",
39 "category_name": "string",
40 "reason": "string",
41 "created_at": "2024-01-15T09:30:00Z",
42 "last_updated_at": "2024-01-15T09:30:00Z",
43 "created_by": "string",
44 "last_updated_by": "string",
45 "value_by_author": {}
46 }
47 ],
48 "comments": [
49 {
50 "text": "string",
51 "id": "string",
52 "created_at": "2024-01-15T09:30:00Z",
53 "last_updated_at": "2024-01-15T09:30:00Z",
54 "created_by": "string",
55 "last_updated_by": "string"
56 }
57 ],
58 "total_estimated_cost": 1.1,
59 "duration": 1.1,
60 "usage": {},
61 "created_at": "2024-01-15T09:30:00Z",
62 "last_updated_at": "2024-01-15T09:30:00Z",
63 "created_by": "string",
64 "last_updated_by": "string",
65 "trace_visibility_mode": "default",
66 "description": "string",
67 "execution_policy": {
68 "runs_per_item": 1,
69 "pass_threshold": 1
70 },
71 "assertion_results": [
72 {
73 "value": "string",
74 "passed": true,
75 "reason": "string"
76 }
77 ],
78 "status": "passed"
79 }
80 ],
81 "run_summaries_by_experiment": {},
82 "dataset_id": "string",
83 "created_at": "2024-01-15T09:30:00Z",
84 "last_updated_at": "2024-01-15T09:30:00Z",
85 "created_by": "string",
86 "last_updated_by": "string"
87 }
88 ],
89 "page": 1,
90 "size": 1,
91 "total": 1,
92 "columns": [
93 {
94 "name": "string",
95 "types": [
96 "string"
97 ],
98 "filter_field_prefix": "string",
99 "filterField": "string"
100 }
101 ],
102 "sortableBy": [
103 "string"
104 ]
105}
Find dataset items with experiment items
Was this page helpful?
Previous

Get dataset by name

Next
Built with

Path parameters

idstringRequiredformat: "uuid"

Query parameters

pageintegerOptional>=1Defaults to 1
sizeintegerOptional>=1Defaults to 10
experiment_idsstringRequired
filtersstringOptional
sortingstringOptional
searchstringOptional
truncatebooleanOptional

Response

Dataset item resource
contentlist of objects
pageinteger
sizeinteger
totallong
columnslist of objects
sortableBylist of strings