---
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_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_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

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-19** `a7f9a6823230` — 2 warning
  - removed the optional property `support_id` from the response with the `200` status
  - removed the optional property `support_ts` from the response with the `200` status
- **2026-05-08** `5e6f53ce5d08` — 1 info
  - api operation id `query_evaluations_simple_evaluations_query_post` removed and replaced with `query_simple_evaluations`
- **2026-04-23** `925e8b901a26` — 2 info
  - added the optional property `support_id` to the response with the `200` status
  - added the optional property `support_ts` to the response with the `200` status
- **2026-04-16** `8b06b786c977` — 1 warning, 4 info
  - removed the request property `jit`
  - added the new optional request property `evaluation/anyOf[subschema #1: SimpleEvaluationQuery]/flags/anyOf[subschema #1: EvaluationRunQueryFlags]/is_cached`
  - added the new optional request property `evaluation/anyOf[subschema #1: SimpleEvaluationQuery]/flags/anyOf[subschema #1: EvaluationRunQueryFlags]/is_split`
  - added the optional property `evaluations/items/flags/anyOf[subschema #1: EvaluationRunFlags]/is_cached` to the response with the `200` status
  - …1 more
- …earlier changes not shown

[Full history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/simple/evaluations/query/post.md)

---

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