evaluators

Update

Update an evaluator within your organization.

patch/evaluators/{id}

Request

  • Base URL: https://api.humanloop.com/v4
  • URL: https://api.humanloop.com/v4/evaluators/{id}
  • Auth: API key in header X-API-KEY

Path parameters

idstring required

Request body

namestring

The name of the evaluator.

descriptionstring

The description of the evaluator.

arguments_type'target_free' | 'target_required'

Enum representing the possible argument types of an evaluator.

return_type'boolean' | 'number' | 'select' | 'multi_select' | 'text'

Enum representing the possible return types of an evaluator.

codestring

The code for the evaluator. This code will be executed in a sandboxed environment.

Response

Successful Response

namestring required

The name of the evaluator.

descriptionstring required

The description of the evaluator.

arguments_type'target_free' | 'target_required' required

Enum representing the possible argument types of an evaluator.

return_type'boolean' | 'number' | 'select' | 'multi_select' | 'text' required

Enum representing the possible return types of an evaluator.

codestring

The code for the evaluator. This code will be executed in a sandboxed environment.

type'python' | 'llm' | 'human' | 'external' required

An enumeration.

idstring required

Unique ID for the evaluator. Starts with evfn_.

created_atstring date-time required
updated_atstring date-time required

Changes

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