Skip to main content
PATCH
Update evaluator
Updates specific fields of an evaluator. Supports partial updates of configuration fields.

Authentication

All endpoints require API key authentication:

Path Parameters

Request Body

New Format: You can now update score_config, passing_conditions, llm_config, and code_config fields to add or modify automation for any evaluator type.
You can update any of the following fields. Only provide the fields you want to update: Note: Configuration fields are merged with existing values. Non-null values take precedence over existing null values.

Examples

New Format: Add LLM Config to Existing Evaluator

This example shows adding LLM automation to any evaluator type, demonstrating the decoupling of annotation method from evaluator type.

New Format: Add Code Config to Existing Evaluator

New Format: Update Score Config

Legacy Format: Update LLM Evaluator Configuration

Update Name and Description

Update Categorical Choices

Update Code Evaluator

Update Tags and Starred Status

Update LLM Engine and Model Options

Response

Status: 200 OK Returns the updated evaluator object with all current field values:

Configuration Update Rules

Partial Configuration Updates

When updating configurations, the system performs a merge operation:
  • Existing configuration fields are preserved unless explicitly overridden
  • New fields are added to the configuration
  • Setting a field to null removes it from the configuration
  • Nested objects (like model_options) are completely replaced, not merged

Example Configuration Merge

Original Configuration:
Update Request:
Resulting Configuration:

Error Responses

400 Bad Request

401 Unauthorized

403 Forbidden

404 Not Found

422 Unprocessable Entity