---
title: "Query Evaluations"
method: POST
path: "/simple/evaluations/query"
tags: ["Evaluations"]
---

# Query Evaluations

`POST /simple/evaluations/query`

## Request body

- SimpleEvaluationQueryRequest
  - `evaluation` SimpleEvaluationQuery
    - `flags` EvaluationRunQueryFlags
      - `is_live` boolean, nullable
      - `is_active` boolean, nullable
      - `is_closed` boolean, nullable
      - `is_queue` boolean, nullable
      - `is_cached` boolean, nullable
      - `is_split` boolean, nullable
      - `has_queries` boolean, nullable
      - `has_testsets` boolean, nullable
      - `has_traces` boolean, nullable
      - `has_testcases` boolean, nullable
      - `has_evaluators` boolean, nullable
      - `has_custom` boolean, nullable
      - `has_human` boolean, nullable
      - `has_auto` boolean, nullable
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `ids` string[], nullable
  - `windowing` Windowing
    - `newest` string, date-time, nullable
    - `oldest` string, date-time, nullable
    - `next` string, uuid, nullable
    - `limit` integer, nullable
    - `order` 'ascending' | 'descending', nullable
    - `interval` integer, nullable
    - `rate` number, nullable

## Response `200`

Successful Response

- SimpleEvaluationsResponse
  - `count` integer
  - `evaluations` SimpleEvaluation[]
    - `flags` EvaluationRunFlags
      - `is_live` boolean
      - `is_active` boolean
      - `is_closed` boolean
      - `is_queue` boolean
      - `is_cached` boolean
      - `is_split` boolean
      - `has_queries` boolean
      - `has_testsets` boolean
      - `has_traces` boolean
      - `has_testcases` boolean
      - `has_evaluators` boolean
      - `has_custom` boolean
      - `has_human` boolean
      - `has_auto` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
    - `created_by_id` string, uuid, nullable
    - `updated_by_id` string, uuid, nullable
    - `deleted_by_id` string, uuid, nullable
    - `id` string, uuid, nullable
    - `version` string, nullable
    - `data` SimpleEvaluationData
      - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'
      - `query_steps` union
        - string[]
        - object
      - `testset_steps` union
        - string[]
        - object
      - `application_steps` union
        - string[]
        - object
      - `evaluator_steps` union
        - string[]
        - object
      - `repeats` integer, nullable
      - `concurrency` EvaluationRunDataConcurrency
        - `batch_size` integer, nullable
        - `max_retries` integer, nullable
        - `retry_delay` number, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/versions/d43a05d98a9b/schema)
