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

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
grader_idstringStarts with evgr_.

Body parameters

ParameterTypeRequiredNotes
namestringNo
configobjectNoReplaced 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"
}
FieldTypeDescription
kindstringexact_match, contains, regex, json_schema, similarity (embedding cosine against ideal), or model_rubric (a model scores the output against your rubric).
configobjectSettings 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:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_errorgrader_not_foundNo grader with this id.
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?