create_dataset_run_item
Create a dataset run item, optionally linking a trace or observation, then flush the ingestion write to make it available.
Instructions
Create a dataset run item and flush the ingestion write.
If this legacy API is gone, use the SDK experiment runner or OTel ingestion; neither can link an existing trace through this API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_name": "<run_name>",
"dataset_item_id": "<dataset_item_id>"
},
"name": "create_dataset_run_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Optional run-item metadata | |
| run_name | Yes | Dataset run name to append this item to | |
| trace_id | No | Optional trace ID linked to this run item | |
| observation_id | No | Optional observation ID linked to this run item | |
| dataset_item_id | Yes | Dataset item ID to include in the run | |
| run_description | No | Optional run description |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||