---
title: "Create Evaluator Variant"
method: POST
path: "/preview/evaluators/variants/"
tags: ["Evaluators"]
---

# Create Evaluator Variant

`POST /preview/evaluators/variants/`

## Request body

- EvaluatorVariantCreateRequest
  - `evaluator_variant` EvaluatorVariantCreate, required
    - `evaluator_id` string, uuid, nullable
    - `workflow_id` string, uuid, nullable
    - `artifact_id` string, uuid, nullable
    - `flags` EvaluatorFlags
      - `is_custom` boolean
      - `is_evaluator` boolean
      - `is_human` boolean
      - `is_chat` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `slug` string, nullable

## Response `200`

Successful Response

- EvaluatorVariantResponse
  - `count` integer
  - `evaluator_variant` EvaluatorVariant
    - `evaluator_id` string, uuid, nullable
    - `workflow_id` string, uuid, nullable
    - `artifact_id` string, uuid, nullable
    - `flags` EvaluatorFlags
      - `is_custom` boolean
      - `is_evaluator` boolean
      - `is_human` boolean
      - `is_chat` 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-02-13** `72fe88316d15` — 4 info
  - added the new optional request property `evaluator_variant/flags/anyOf[subschema #1: EvaluatorFlags]/is_chat`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
  - added the optional property `evaluator_variant/anyOf[subschema #1: EvaluatorVariant]/flags/anyOf[subschema #1: EvaluatorFlags]/is_chat` to the response with the `200` status
- **2026-01-14** `53da4c9de2b7` — 4 breaking, 10 info
  - request property `evaluator_variant/flags/anyOf[subschema #1: EvaluatorFlags]/is_custom` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `evaluator_variant/flags/anyOf[subschema #1: EvaluatorFlags]/is_evaluator` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `evaluator_variant/flags/anyOf[subschema #1: EvaluatorFlags]/is_human` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `evaluator_variant/tags/anyOf[subschema #1]/additionalProperties/` list-of-types was narrowed by removing types `integer, null and number` from media type `application/json`
  - …10 more
- **2025-11-05** `e62506c24377` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/preview/evaluators/variants/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/42bb75a1c2e6/schema)
