---
title: "Edit Queue"
method: PATCH
path: "/preview/evaluations/queues/{queue_id}"
tags: ["Evaluations"]
---

# Edit Queue

`PATCH /preview/evaluations/queues/{queue_id}`

## Path parameters

- `queue_id` string, uuid, required

## Request body

- EvaluationQueueEditRequest
  - `queue` EvaluationQueueEdit, required
    - `flags` EvaluationQueueFlags
      - `is_sequential` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `id` string, uuid, nullable
    - `version` string
    - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'
    - `data` EvaluationQueueData
      - `user_ids` array[], nullable
        - string[]
      - `scenario_ids` string[], nullable
      - `step_keys` string[], nullable

## Response `200`

Successful Response

- EvaluationQueueResponse
  - `count` integer
  - `queue` EvaluationQueue
    - `flags` EvaluationQueueFlags
      - `is_sequential` 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
    - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'
    - `data` EvaluationQueueData
      - `user_ids` array[], nullable
        - string[]
      - `scenario_ids` string[], nullable
      - `step_keys` string[], nullable
    - `run_id` string, uuid, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-13** `72fe88316d15` — 2 info
  - 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
- **2026-01-14** `53da4c9de2b7` — 2 breaking, 2 info
  - request property `queue/tags/anyOf[subschema #1]/additionalProperties/` list-of-types was narrowed by removing types `integer, null and number` from media type `application/json`
  - request property `queue/version` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the `version` request property default value `2025-07-14` was added
  - response property `queue/anyOf[subschema #1: EvaluationQueue]/tags/anyOf[subschema #1]/additionalProperties/` list-of-types was narrowed by removing types `integer, null and number` from media type `application/json` of response `200`
- **2025-11-05** `e62506c24377` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/preview/evaluations/queues/:queue_id/patch.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/72fe88316d15/schema)
