The eval grader object

⚠️
Preview — this feature is being built; the design below is the spec.

The eval_grader object as the API returns it. Every field below appears in every response that returns this object; fields with no value are null rather than missing.

Example

{
  "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": 4
  },
  "created_at": "2026-11-01T09:30:00Z",
  "updated_at": "2026-11-01T09:30:00Z"
}

Fields

FieldTypeDescription
idstringUnique id of this object.
typestringThe object type, always eval_grader.
namestringName shown in the Console and in reports.
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.
created_atstringWhen it was created, RFC 3339 UTC (some older objects use Unix seconds).
updated_atstringWhen it last changed.

Returned by

Was this page helpful?