> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update an annotation queue

> Update fields on an existing annotation queue. Supports updating name, description, filters, enabled status, and adding/removing events.




## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/openapi.yaml put /v1/queues/{queue_id}
openapi: 3.1.0
info:
  title: HoneyHive Data Plane API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.2.1
servers:
  - url: https://api.honeyhive.ai
security:
  - BearerAuth: []
tags:
  - name: Charts
    description: >
      Define and manage saved charts. Charts are visualizations that aggregate
      metrics over time with bucketing, filters, and groupings.
  - name: Configurations
    description: >
      Manage prompt configurations, i.e. model parameters, message templates,
      and response settings that can be versioned and deployed without code
      changes.
  - name: Datapoints
    description: >
      Manage individual records inside datasets, including batch creation and
      mapping to source events.
  - name: Datasets
    description: >
      Curate collections of datapoints used as test sets for evaluations and
      experiments.
  - name: Events
    description: >
      Read and write trace events. Events are the spans that capture every step
      of an AI application's execution.
  - name: Experiments
    description: >
      Run, retrieve, and compare evaluation runs to measure how prompt or
      configuration changes affect agent performance.
  - name: Metric Versions
    description: >
      Snapshot, list, and deploy versions of a metric's definition so changes
      can be reviewed and rolled back without losing history.
  - name: Metrics
    description: >
      Define and run evaluators, i.e. automated quality checks that score traces
      against criteria like accuracy, safety, or correctness.
  - name: Queues
    description: >
      Manage annotation queues for human review of traces, turning expert
      feedback into labeled datasets.
  - name: Sessions
    description: >
      Group related trace events into sessions, the top-level container for a
      multi-step or multi-service AI interaction.
paths:
  /v1/queues/{queue_id}:
    put:
      tags:
        - Queues
      summary: Update an annotation queue
      description: >
        Update fields on an existing annotation queue. Supports updating name,
        description, filters, enabled status, and adding/removing events.
      operationId: updateQueue
      parameters:
        - name: queue_id
          in: path
          required: true
          schema:
            type: string
          description: Annotation queue ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAnnotationQueueRequest'
      responses:
        '200':
          description: Queue updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateAnnotationQueueResponse'
        '404':
          description: Queue not found
components:
  schemas:
    UpdateAnnotationQueueRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 200
        description:
          type: string
          maxLength: 1000
        filters:
          $ref: '#/components/schemas/UpdateAnnotationQueueRequestFilters'
        enabled:
          type: boolean
        id:
          type: string
          minLength: 1
        add_event_ids:
          type: array
          items:
            type: string
        remove_event_ids:
          type: array
          items:
            type: string
      required:
        - id
    UpdateAnnotationQueueResponse:
      type: object
      properties:
        queue:
          $ref: '#/components/schemas/UpdateAnnotationQueueResponseQueue'
        message:
          type: string
      required:
        - queue
        - message
    UpdateAnnotationQueueRequestFilters:
      type: object
      properties:
        filterArray:
          $ref: '#/components/schemas/FiltersArray'
      required:
        - filterArray
      additionalProperties: false
    UpdateAnnotationQueueResponseQueue:
      type: object
      properties:
        name:
          type: string
          maxLength: 200
        description:
          type: string
          maxLength: 1000
        filters:
          $ref: '#/components/schemas/UpdateAnnotationQueueResponseQueueFilters'
        enabled:
          type: boolean
        id:
          type: string
          minLength: 1
        scope_id:
          type: string
        scope_type:
          type: string
          enum:
            - system
            - controlplane
            - dataplane
            - org
            - workspace
            - project
        is_active:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - name
        - description
        - filters
        - enabled
        - id
        - scope_id
        - scope_type
        - is_active
        - created_at
        - updated_at
    FiltersArray:
      type: array
      items:
        $ref: '#/components/schemas/SingleFilter'
    UpdateAnnotationQueueResponseQueueFilters:
      type: object
      properties:
        filterArray:
          $ref: '#/components/schemas/FiltersArray'
      required:
        - filterArray
      additionalProperties: false
    SingleFilter:
      type: object
      properties:
        field:
          type: string
        operator:
          type: string
          enum:
            - exists
            - not exists
            - is
            - is not
            - contains
            - not contains
            - greater than
            - less than
            - after
            - before
        value:
          anyOf:
            - type: string
            - type: number
            - type: boolean
            - type: 'null'
        type:
          type: string
          enum:
            - string
            - number
            - boolean
            - datetime
      required:
        - field
        - operator
        - value
        - type
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````