Update a dataset item
⚠️
Preview — this feature is being built; the design below is the spec.
PATCH https://app.syntic.ai/v1/evals/datasets/{dataset_id}/items/{item_id}Change an item’s input, ideal answer or tags. Earlier run results keep the version they used.
For how this fits into a full workflow, see Evaluations.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <key>: a private inference key (sk_live_...). See Authentication. |
syntic-beta | Yes, while in preview | evals-2026-12-01. Without it the call fails with 400 beta_required. See Versioning. |
Content-Type | Yes | application/json |
Path parameters
| Parameter | Type | Description |
|---|---|---|
dataset_id | string | Starts with evds_. |
item_id | string | Starts with evit_. |
Body parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
input | object | No | |
ideal | string or object | No | |
tags | array | No |
Response
200 OK, Content-Type: application/json
{
"id": "evit_01JD24C6E8G0J2L4N6Q8",
"type": "eval_item",
"dataset_id": "evds_01JD13B5D7F9H1K3M5P7",
"input": {
"ticket": "I was charged twice for order 88123.",
"customer_tier": "gold"
},
"ideal": "Apologise, confirm the duplicate charge, refund within 3 working days, offer a 10% voucher to gold customers.",
"tags": [
"billing"
],
"created_at": "2026-11-01T09:00:00Z"
}| Field | Type | Description |
|---|---|---|
input | object | Values substituted into the prompt template’s {{variables}}. |
ideal | string or object or null | The reference answer graders compare against. Optional for rubric graders. |
tags | array | Up to 10 tags; results can be broken down by tag. |
Examples
curl -sS -X PATCH "https://app.syntic.ai/v1/evals/datasets/evds_01JD13B5D7F9H1K3M5P7/items/evit_01JD24C6E8G0J2L4N6Q8" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: evals-2026-12-01" \
-H "Content-Type: application/json" \
-d '{
"ideal": "Apologise, confirm the duplicate charge, refund within 3 working days, offer a 10% voucher to gold customers."
}'Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 404 | not_found_error | item_not_found | No item with this id in the dataset. |
| 401 | authentication_error | invalid_api_key | The key is missing, unknown, revoked or expired. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?