v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Evals

Retrieve an Evaluator

Retrieve a single evaluator by its unique identifier. Returns the evaluator exactly as stored, including its type-specific configuration — prompt and model for LLM evaluators, source code for Python and TypeScript evaluators, the JSON Schema for schema evaluators, and so on.

Use this when you already know the evaluator id (for example to refresh the state of a resource you manage declaratively). To discover evaluator ids, list them with GET /v2/evaluators.

This endpoint returns the stored record, which carries more detail than the representation GET /v2/evaluators returns: display_name rather than key, model as an object rather than a provider-qualified string, plus the owner, domain_id, metadata, enabled and output_type fields.

get/v2/evaluators/{id}

Path parameters

idstring required

Unique identifier of the evaluator, as returned in the _id field by GET /v2/evaluators.

Example:01JMDPA3QW5C1V0NJ1PW34T4E5

Unique identifier of the evaluator, as returned in the _id field by GET /v2/evaluators.

Response

The evaluator. The response shape depends on the evaluator type.

OR
OR
OR
OR
OR
OR
OR