Update a dataset
⚠️
Preview — this feature is being built; the design below is the spec.
PATCH https://app.syntic.ai/v1/evals/datasets/{dataset_id}Rename a dataset or change its description or input schema. A new schema is checked against existing items; the call fails if any no longer match.
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_. |
Body parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
name | string | No | |
description | string | No | |
input_schema | object or null | No |
Response
200 OK, Content-Type: application/json
{
"id": "evds_01JD13B5D7F9H1K3M5P7",
"type": "eval_dataset",
"name": "support-replies-v3",
"description": "200 real tickets, answers re-approved November",
"item_count": 200,
"input_schema": {
"type": "object",
"properties": {
"ticket": {
"type": "string"
},
"customer_tier": {
"type": "string"
}
},
"required": [
"ticket"
]
},
"created_at": "2026-11-01T09:00:00Z",
"updated_at": "2026-11-03T12:00:00Z"
}| Field | Type | Description |
|---|---|---|
id | string | Starts with evds_. |
item_count | integer | Items in the dataset, up to 50,000. |
input_schema | object or null | Optional JSON Schema every item’s input must match. Catches malformed items at upload time. |
Examples
curl -sS -X PATCH "https://app.syntic.ai/v1/evals/datasets/evds_01JD13B5D7F9H1K3M5P7" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: evals-2026-12-01" \
-H "Content-Type: application/json" \
-d '{
"description": "200 real tickets, answers re-approved November"
}'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. |
| 400 | invalid_request_error | items_violate_schema | Existing items fail the new schema; details lists up to 20 item ids. |
| 404 | not_found_error | dataset_not_found | No dataset with this id. |
| 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?