Replace an evaluator
Replace the current draft/latest evaluator configuration. Committed read-only versions cannot be edited.
Path parameters
Evaluator ID. To run a specific version, pass an ID with a version suffix where supported, for example evl_abc123:2.
Headers
Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.
Request
Organization-scoped evaluator slug.
Optional pre-built evaluator template.
Score configuration. For numerical/percentage scores, use min_score and max_score. For select scores, use choices.
Legacy user-facing configuration object. New clients should prefer llm_config, code_config, score_config, and passing_conditions.
Response
Organization-scoped evaluator slug.
Optional pre-built evaluator template.
Score configuration. For numerical/percentage scores, use min_score and max_score. For select scores, use choices.
Legacy user-facing configuration object. New clients should prefer llm_config, code_config, score_config, and passing_conditions.