LangChain annotation-queues API

The annotation-queues API from LangChain — 17 operation(s) for annotation-queues.

Operations 23

GET /api/v1/annotation-queues Get Annotation Queues #
POST /api/v1/annotation-queues Create Annotation Queue #
DELETE /api/v1/annotation-queues Delete Annotation Queues #
POST /api/v1/annotation-queues/populate Populate Annotation Queue #
DELETE /api/v1/annotation-queues/{queue_id} Delete Annotation Queue #
PATCH /api/v1/annotation-queues/{queue_id} Update Annotation Queue #
GET /api/v1/annotation-queues/{queue_id} Get Annotation Queue #
POST /api/v1/annotation-queues/{queue_id}/runs Add Runs To Annotation Queue #
GET /api/v1/annotation-queues/{queue_id}/runs Get Runs From Annotation Queue #
POST /api/v1/annotation-queues/{queue_id}/runs/by-key Add Runs To Annotation Queue By Key #
POST /api/v1/annotation-queues/{queue_id}/export Export Annotation Queue Archived Runs #
GET /api/v1/annotation-queues/{queue_id}/run/{index} Get Run From Annotation Queue #
GET /api/v1/annotation-queues/{run_id}/queues Get Annotation Queues For Run #
PATCH /api/v1/annotation-queues/{queue_id}/runs/{queue_run_id} Update Run In Annotation Queue #
DELETE /api/v1/annotation-queues/{queue_id}/runs/{queue_run_id} Delete Run From Annotation Queue #
POST /api/v1/annotation-queues/{queue_id}/runs/delete Delete Runs From Annotation Queue #
GET /api/v1/annotation-queues/{queue_id}/total_size Get Total Size From Annotation Queue #
GET /api/v1/annotation-queues/{queue_id}/total_archived Get Total Archived From Annotation Queue #
GET /api/v1/annotation-queues/{queue_id}/size Get Size From Annotation Queue #
POST /api/v1/annotation-queues/status/{annotation_queue_run_id} Create Identity Annotation Queue Run Status #
GET /api/v1/annotation-queues/{queue_id}/runs/resolve/{queue_run_id} Resolve Annotation Queue Run #
POST /v1/platform/annotation-queues/{queue_id}/reviewers Add a reviewer to an annotation queue
DELETE /v1/platform/annotation-queues/{queue_id}/reviewers/{identity_id} Remove a reviewer from an annotation queue

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/langchain-annotation-queues-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

langchain-annotation-queues-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith access_policies Annotation Queues API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid [LangSmith API key](https://docs.langchain.com/langsmith/create-account-api-key#create-an-api-key).


    '
  version: 0.1.0
servers:
- url: /
tags:
- name: annotation-queues
paths:
  /api/v1/annotation-queues:
    get:
      tags:
      - annotation-queues
      summary: Get Annotation Queues
      operationId: get_annotation_queues_api_v1_annotation_queues_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Ids
      - name: name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
      - name: name_contains
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Name Contains
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 100
          title: Limit
      - name: tag_value_id
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Tag Value Id
      - name: dataset_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Dataset Id
      - name: queue_type
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - single
            - pairwise
            type: string
          - type: 'null'
          title: Queue Type
      - name: assigned_to_me
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Assigned To Me
      - name: sort_by
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Sort By
      - name: sort_by_desc
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Sort By Desc
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AnnotationQueueSchemaWithSize'
                title: Response Get Annotation Queues Api V1 Annotation Queues Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - annotation-queues
      summary: Create Annotation Queue
      operationId: create_annotation_queue_api_v1_annotation_queues_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueCreateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - annotation-queues
      summary: Delete Annotation Queues
      description: "Delete multiple annotation queues with partial success support.\n\nReturns:\n    - 200: All queues deleted successfully\n    - 207: Some queues deleted successfully, some failed"
      operationId: delete_annotation_queues_api_v1_annotation_queues_delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_ids
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
            format: uuid
          maxItems: 100
          title: Queue Ids
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/populate:
    post:
      tags:
      - annotation-queues
      summary: Populate Annotation Queue
      description: Populate annotation queue with runs from an experiment.
      operationId: populate_annotation_queue_api_v1_annotation_queues_populate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PopulateAnnotationQueueSchema'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/annotation-queues/{queue_id}:
    delete:
      tags:
      - annotation-queues
      summary: Delete Annotation Queue
      operationId: delete_annotation_queue_api_v1_annotation_queues__queue_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - annotation-queues
      summary: Update Annotation Queue
      operationId: update_annotation_queue_api_v1_annotation_queues__queue_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueUpdateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - annotation-queues
      summary: Get Annotation Queue
      operationId: get_annotation_queue_api_v1_annotation_queues__queue_id__get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueSchemaWithRubric'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/runs:
    post:
      tags:
      - annotation-queues
      summary: Add Runs To Annotation Queue
      operationId: add_runs_to_annotation_queue_api_v1_annotation_queues__queue_id__runs_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              anyOf:
              - type: array
                items:
                  type: string
                  format: uuid
              - type: array
                items:
                  $ref: '#/components/schemas/AnnotationQueueRunAddSchema'
              title: Runs
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AnnotationQueueRunSchema'
                title: Response Add Runs To Annotation Queue Api V1 Annotation Queues  Queue Id  Runs Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - annotation-queues
      summary: Get Runs From Annotation Queue
      operationId: get_runs_from_annotation_queue_api_v1_annotation_queues__queue_id__runs_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 100
          title: Limit
      - name: archived
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Archived
      - name: include_stats
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Stats
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - needs_my_review
            - needs_others_review
            - completed
            type: string
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RunSchemaWithAnnotationQueueInfo'
                title: Response Get Runs From Annotation Queue Api V1 Annotation Queues  Queue Id  Runs Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/runs/by-key:
    post:
      tags:
      - annotation-queues
      summary: Add Runs To Annotation Queue By Key
      operationId: add_runs_to_annotation_queue_by_key_api_v1_annotation_queues__queue_id__runs_by_key_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/AddRunToQueueByKeyRequest'
              title: Runs
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AnnotationQueueRunSchema'
                title: Response Add Runs To Annotation Queue By Key Api V1 Annotation Queues  Queue Id  Runs By Key Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/export:
    post:
      tags:
      - annotation-queues
      summary: Export Annotation Queue Archived Runs
      operationId: export_annotation_queue_archived_runs_api_v1_annotation_queues__queue_id__export_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportAnnotationQueueRunsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/run/{index}:
    get:
      tags:
      - annotation-queues
      summary: Get Run From Annotation Queue
      description: Get a run from an annotation queue
      operationId: get_run_from_annotation_queue_api_v1_annotation_queues__queue_id__run__index__get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: index
        in: path
        required: true
        schema:
          type: integer
          title: Index
      - name: include_extra
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Extra
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunSchemaWithAnnotationQueueInfo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{run_id}/queues:
    get:
      tags:
      - annotation-queues
      summary: Get Annotation Queues For Run
      operationId: get_annotation_queues_for_run_api_v1_annotation_queues__run_id__queues_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AnnotationQueueSchema'
                title: Response Get Annotation Queues For Run Api V1 Annotation Queues  Run Id  Queues Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/runs/{queue_run_id}:
    patch:
      tags:
      - annotation-queues
      summary: Update Run In Annotation Queue
      operationId: update_run_in_annotation_queue_api_v1_annotation_queues__queue_id__runs__queue_run_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: queue_run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Run Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueRunUpdateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - annotation-queues
      summary: Delete Run From Annotation Queue
      operationId: delete_run_from_annotation_queue_api_v1_annotation_queues__queue_id__runs__queue_run_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: queue_run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/runs/delete:
    post:
      tags:
      - annotation-queues
      summary: Delete Runs From Annotation Queue
      operationId: delete_runs_from_annotation_queue_api_v1_annotation_queues__queue_id__runs_delete_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueBulkDeleteRunsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/total_size:
    get:
      tags:
      - annotation-queues
      summary: Get Total Size From Annotation Queue
      operationId: get_total_size_from_annotation_queue_api_v1_annotation_queues__queue_id__total_size_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueSizeSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/total_archived:
    get:
      tags:
      - annotation-queues
      summary: Get Total Archived From Annotation Queue
      operationId: get_total_archived_from_annotation_queue_api_v1_annotation_queues__queue_id__total_archived_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: start_time
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Start Time
      - name: end_time
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: End Time
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueSizeSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/size:
    get:
      tags:
      - annotation-queues
      summary: Get Size From Annotation Queue
      operationId: get_size_from_annotation_queue_api_v1_annotation_queues__queue_id__size_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - needs_my_review
            - needs_others_review
            - completed
            type: string
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueSizeSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/status/{annotation_queue_run_id}:
    post:
      tags:
      - annotation-queues
      summary: Create Identity Annotation Queue Run Status
      operationId: create_identity_annotation_queue_run_status_api_v1_annotation_queues_status__annotation_queue_run_id__post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: annotation_queue_run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Annotation Queue Run Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdentityAnnotationQueueRunStatusCreateSchema'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/annotation-queues/{queue_id}/runs/resolve/{queue_run_id}:
    get:
      tags:
      - annotation-queues
      summary: Resolve Annotation Queue Run
      description: Resolve a queue run ID to its section and run data for deep linking.
      operationId: resolve_annotation_queue_run_api_v1_annotation_queues__queue_id__runs_resolve__queue_run_id__get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: queue_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Id
      - name: queue_run_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Queue Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResolvedAnnotationQueueRunSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/platform/annotation-queues/{queue_id}/reviewers:
    post:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Assigns a single identity as a reviewer for the queue. Idempotent.
      tags:
      - annotation-queues
      summary: Add a reviewer to an annotation queue
      parameters:
      - description: Queue ID
        name: queue_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/annotationqueues.AddReviewerResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/annotationqueues.AddReviewerRequest'
  /v1/platform/annotation-queues/{queue_id}/reviewers/{identity_id}:
    delete:
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      description: Unassigns an identity as a reviewer for the queue. Idempotent.
      tags:
      - annotation-queues
      summary: Remove a reviewer from an annotation queue
      parameters:
      - description: Queue ID
        name: queue_id
        in: path
        required: true
        schema:
          type: string
      - description: Identity ID of the reviewer to remove
        name: identity_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
components:
  schemas:
    RunTypeEnum:
      type: string
      enum:
      - tool
      - chain
      - llm
      - retriever
      - embedding
      - prompt
      - parser
      title: RunTypeEnum
      description: Enum for run types.
    Missing:
      properties:
        __missing__:
          type: string
          const: __missing__
          title: Missing
      type: object
      required:
      - __missing__
      title: Missing
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    AnnotationQueueRunUpdateSchema:
      properties:
        last_reviewed_time:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Reviewed Time
        added_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Added At
      type: object
      title: AnnotationQueueRunUpdateSchema
    AssignedReviewerSchema:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
      type: object
      required:
      - id
      title: AssignedReviewerSchema
      description: Identity info for an assigned reviewer on an annotation queue.
    IdentityAnnotationQueueRunStatusCreateSchema:
      properties:
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        override_added_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Override Added At
      type: object
      title: IdentityAnnotationQueueRunStatusCreateSchema
      description: Identity annotation queue run status create schema.
    annotationqueues.AddReviewerResponse:
      type: object
      properties:
        identity_id:
          type: string
    AnnotationQueueSchema:
      properties:
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        num_reviewers_per_item:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Reviewers Per Item
          default: 1
        enable_reservations:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enable Reservations
          default: true
        reservation_minutes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reservation Minutes
          default: 1
        reviewer_access_mode:
          type: string
          title: Reviewer Access Mode
          default: any
        name:
          type: string
          title: Name
        id:
          type: string
          format: uuid
          title: Id
        tenant_id:
          type: string
          format: uuid
          title: Tenant Id
        source_rule_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Source Rule Id
        run_rule_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Run Rule Id
        default_dataset:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: D

# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/langchain/refs/heads/main/openapi/langchain-annotation-queues-api-openapi.yml