Skip to main content

Endpoint

string
default:"POST"
POST
string
/v1/evaluator/query

Authentication

This endpoint requires API key authentication. Include your API key in the request headers:

Request Body

No specific parameters required. Send an empty object.

Response

array
Array of evaluator objects
string
Unique identifier for the evaluator
string
Evaluator name
string
Type of scoring: “LLM-BOOLEAN”, “LLM-CHOICE”, “LLM-RANGE”, “PYTHON”, or “LASTMILE”
object
LLM configuration for LLM-based evaluators
object
Python code for code-based evaluators
object
Configuration for LastMile evaluators
string
Organization that owns this evaluator
string
Creation timestamp
string
Last update timestamp
string | null
Error message if the request failed, null otherwise

Example Request

Example Response

Evaluator Types

LLM-BOOLEAN

Uses an LLM to return a true/false score

LLM-CHOICE

Uses an LLM to select from predefined choices

LLM-RANGE

Uses an LLM to score within a numeric range

PYTHON

Executes custom Python code for evaluation

LASTMILE

Integration with LastMile evaluation framework