Update a grader
⚠️
Preview — this feature is being built; the design below is the spec.
PATCH https://app.syntic.ai/v1/evals/graders/{grader_id}Change a grader’s name or config. Its kind is fixed. Runs already finished keep the config they used, so old and new scores are never silently mixed.
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 |
|---|---|---|
grader_id | string | Starts with evgr_. |
Body parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
name | string | No | |
config | object | No | Replaced as a whole. |
Response
200 OK, Content-Type: application/json
{
"id": "evgr_01JD46E8G0J2L4N6Q8S0",
"type": "eval_grader",
"name": "support-rubric",
"kind": "model_rubric",
"config": {
"model": "Amara Deep",
"rubric": "Score 1-5. 5 = correct facts, apologises once, gives a concrete timeline, under 120 words. Deduct 2 for any invented policy.",
"pass_threshold": 5
},
"created_at": "2026-11-01T09:30:00Z",
"updated_at": "2026-11-01T09:30:00Z"
}| Field | Type | Description |
|---|---|---|
kind | string | exact_match, contains, regex, json_schema, similarity (embedding cosine against ideal), or model_rubric (a model scores the output against your rubric). |
config | object | Settings for the kind. For model_rubric: model, rubric and pass_threshold on a 1 to 5 scale. For similarity: threshold from 0 to 1. For regex: pattern. |
Examples
curl -sS -X PATCH "https://app.syntic.ai/v1/evals/graders/evgr_01JD46E8G0J2L4N6Q8S0" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: evals-2026-12-01" \
-H "Content-Type: application/json" \
-d '{
"config": {
"model": "Amara Deep",
"rubric": "Score 1-5. 5 = correct facts, apologises once, gives a concrete timeline, under 120 words. Deduct 2 for any invented policy.",
"pass_threshold": 5
}
}'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 | grader_not_found | No grader 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?