---
title: "Query Evaluators"
method: POST
path: "/evaluators/query"
tags: ["Evaluators"]
---

# Query Evaluators

`POST /evaluators/query`

Query evaluator artifacts with filters and pagination.

Returns artifact-level records only. The request body follows
the shared query pattern (filter + refs + windowing). Send `{}`
to list all evaluators in the project. See the Query Pattern
guide.

## Request body

- EvaluatorQueryRequest — Body for filtering evaluators. See the Query Pattern guide for field semantics.
  - `evaluator` EvaluatorQuery
    - `folder_id` string, uuid, nullable
    - `flags` EvaluatorArtifactQueryFlags
      - `is_application` boolean, nullable
      - `is_evaluator` boolean, nullable
      - `is_snippet` boolean, nullable
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `slug` string, nullable
    - `slugs` string[], nullable
  - `evaluator_refs` Reference[], nullable — Restrict the query to these evaluators. Accepts `id` or `slug` per reference.
    - `version` string, nullable
    - `slug` string, nullable
    - `id` string, uuid, nullable
  - `include_archived` boolean, nullable — When true, include soft-deleted evaluators in the response.
  - `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

- EvaluatorsResponse — Envelope for a list of evaluators.
  - `count` integer — Number of evaluators in `evaluators`.
  - `evaluators` Evaluator[] — Matching evaluator artifacts.
    - `folder_id` string, uuid, nullable
    - `flags` EvaluatorArtifactFlags
      - `is_application` boolean
      - `is_evaluator` boolean
      - `is_snippet` 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
    - `slug` string, nullable
    - `id` string, uuid, 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-14** `d7e21f629c88` — 1 info
  - the `evaluators` response's property default value `` was removed for the status `200`
- **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-18** `c469c2f6cdba` — 2 info
  - added the new optional request property `evaluator/anyOf[subschema #1: EvaluatorQuery]/slug`
  - added the new optional request property `evaluator/anyOf[subschema #1: EvaluatorQuery]/slugs`
- **2026-04-16** `8b06b786c977` — 1 breaking, 3 info
  - removed `#/components/schemas/EvaluatorQueryFlags` from the `evaluator/anyOf[subschema #1: EvaluatorQuery]/flags` request property `anyOf` list
  - added `#/components/schemas/EvaluatorArtifactQueryFlags` to the `evaluator/anyOf[subschema #1: EvaluatorQuery]/flags` request property `anyOf` list
  - added `#/components/schemas/EvaluatorArtifactFlags` to the `evaluators/items/flags` response property `anyOf` list for the response status `200`
  - removed `#/components/schemas/EvaluatorFlags` from the `evaluators/items/flags` response property `anyOf` list for the response status `200`

[Full history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/evaluators/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/ca3686e05842/schema)
