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

# Edit Queue

`PATCH /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
      - `batch_size` integer, nullable
      - `batch_offset` integer, 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
      - `batch_size` integer, nullable
      - `batch_offset` integer, nullable
    - `run_id` string, uuid, required

## 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 `edit_queue_evaluations_queues__queue_id__patch` removed and replaced with `edit_queue`
- **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-03-04** `c8917fecb5bf` — 4 info
  - added the new optional request property `queue/data/anyOf[subschema #1: EvaluationQueueData]/batch_offset`
  - added the new optional request property `queue/data/anyOf[subschema #1: EvaluationQueueData]/batch_size`
  - added the optional property `queue/anyOf[subschema #1: EvaluationQueue]/data/anyOf[subschema #1: EvaluationQueueData]/batch_offset` to the response with the `200` status
  - added the optional property `queue/anyOf[subschema #1: EvaluationQueue]/data/anyOf[subschema #1: EvaluationQueueData]/batch_size` to the response with the `200` status
- **2026-02-27** `8fcd55a5a656` — 1 info
  - endpoint added

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