observability

Update Eval

Revise one of your workspace's authored evals in place. Use when tuning a custom grader's rubric, thresholds, input fields, or cases. Pass the slug plus the fields to change; the merged definition is re-validated before it is stored, returning the slug + version or a structured validation error. Built-in evals cannot be edited.

patch/api/platform/v1/evals/{slug}

Request

  • Base URL: https://docs.amdahl.ai
  • URL: https://docs.amdahl.ai/api/platform/v1/evals/{slug}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

slugstring required

The authored eval to revise.

Request body

namestring
descriptionstring
versionstring
input_schemaobject
casesobject[]
reliabilityobject

Required for any grader that reports a MAGNITUDE (judge / evidence_judge / improvement_loop): the measured flip rate and the floor a reported lift must clear. Validation refuses without it, so declare it rather than discovering the refusal.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.