Update Evaluator
PATCH/api/evaluators/{evaluator_id}/
Updates specific fields of an evaluator. Supports partial updates of configuration fields.
Authentication
Requires API key authentication. Include your API key in the request headers:Path Parameters
Parameter | Type | Description |
---|---|---|
evaluator_id | string | The unique ID of the evaluator to update |
Request Body
You can update any of the following fields. Only provide the fields you want to update:Field | Type | Description |
---|---|---|
name | string | Display name for the evaluator |
description | string | Description of what the evaluator does |
configurations | object | Type-specific configuration settings |
categorical_choices | array | Choices for categorical evaluators |
custom_required_fields | array | Additional required fields |
starred | boolean | Whether the evaluator is starred |
tags | array | Tags for organization |
Examples
Update LLM Evaluator Configuration
Update Basic Information
Update Categorical Choices
Update Code Evaluator
Response
Status: 200 OKConfiguration Update Behavior
- Merge Strategy: Configuration fields are merged with existing values
- Precedence: Non-null values in the update request take precedence
- Partial Updates: You can update individual configuration fields without affecting others
- Validation: Updated configurations are validated according to the evaluator type