Skip to main content
This endpoint allows you to query and retrieve evaluation data for your requests. Use filters to narrow down results by specific criteria and time ranges.

Use Cases

  • Retrieve evaluation scores for analysis
  • Filter evaluations by time period
  • Get evaluation metrics for specific requests
  • Monitor evaluation trends over time

Request Body

The request accepts an EvalQueryParams object with the following structure:
EvalFilterNode
required
Filter criteria for evaluations. Can be “all” to retrieve all evaluations, or a filter tree structure to specify conditions.
object
required
Time range for filtering evaluations.
string
required
Start time in ISO 8601 format (e.g., “2024-01-01T00:00:00Z”)
string
required
End time in ISO 8601 format (e.g., “2024-01-31T23:59:59Z”)
number
Number of records to skip for pagination (default: 0)
number
Maximum number of records to return (default: 100)
number
Time zone difference in minutes from UTC

Response

Returns a Result object containing an array of Eval objects.
Eval[]
Array of evaluation objects
string
Name of the evaluation metric
number
Average score across all evaluations
number
Minimum score recorded
number
Maximum score recorded
number
Total number of evaluations
array
Count of evaluations over time
array
Average scores over time
string | null
Error message if the request failed, null otherwise

Example Request

Example Response