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

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewevals-2026-12-01. Without it the call fails with 400 beta_required. See Versioning.
Content-TypeYesapplication/json

Path parameters

ParameterTypeDescription
dataset_idstringStarts with evds_.
item_idstringStarts with evit_.

Body parameters

ParameterTypeRequiredNotes
inputobjectNo
idealstring or objectNo
tagsarrayNo

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"
}
FieldTypeDescription
inputobjectValues substituted into the prompt template’s {{variables}}.
idealstring or object or nullThe reference answer graders compare against. Optional for rubric graders.
tagsarrayUp 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:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_erroritem_not_foundNo item with this id in the dataset.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?