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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier of the evaluator, as returned in the _id field by GET /v2/evaluators.
"01JMDPA3QW5C1V0NJ1PW34T4E5"
Response
The evaluator. The response shape depends on the evaluator type.
- LLM
- Function
- Ragas
- JSON
- HTTP
- Python
- Typescript
- Bedrock Guardrail
llm_eval - Boolean
- Categorical
- Number
The type of output expected from the evaluator
boolean, categorical, number, string single, jury, null 1 <= x <= 3