Langfuse Annotation Queues API

The Annotation Queues API from Langfuse — 5 operation(s) for annotation queues.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/public/annotation-queues List annotation queues · Annotation queues list queues #
Ask an LLM
“Which annotation queues exist in my project?”
“Can I page through all annotation queues?”
Tell an agent
List all annotation queues.
Show {limit} annotation queues per page.
POST /api/public/annotation-queues Create an annotation queue · Annotation queues create queue #
Ask an LLM
“How do I create a new queue for annotators to review?”
“Can I attach a scoring configuration to a new queue?”
Tell an agent
Create an annotation queue named {name} with scoring configs {scoreConfigIds}.
Create queue {name} described as {description}, scoring configs {scoreConfigIds}.
GET /api/public/annotation-queues/{queueId} Get an annotation queue · Annotation queues get queue #
Ask an LLM
“What are the details of one annotation queue?”
“Can I fetch a queue by its ID?”
Tell an agent
Get annotation queue {queueId}.
Show the details of queue {queueId}.
GET /api/public/annotation-queues/{queueId}/items List items in an annotation queue · Annotation queues list queue items #
Ask an LLM
“What items are waiting in an annotation queue?”
“Can I filter a queue's items by status?”
Tell an agent
List items in annotation queue {queueId}.
Show {limit} items in queue {queueId} with status {status}.
POST /api/public/annotation-queues/{queueId}/items Add an item to an annotation queue · Annotation queues create queue item #
Ask an LLM
“How do I add a model output to an annotation queue?”
“Can I set the initial status of a queue item?”
Tell an agent
Add {objectType} {objectId} to annotation queue {queueId}.
Queue {objectType} {objectId} for annotation in {queueId} with status {status}.
GET /api/public/annotation-queues/{queueId}/items/{itemId} Get an item from an annotation queue · Annotation queues get queue item #
Ask an LLM
“What is the current status of one annotation item?”
“Can I fetch a single queue item by ID?”
Tell an agent
Get item {itemId} from annotation queue {queueId}.
Show the status of queue {queueId} item {itemId}.
PATCH /api/public/annotation-queues/{queueId}/items/{itemId} Update an annotation queue item · Annotation queues update queue item #
Ask an LLM
“Can I change the status of an item in an annotation queue?”
“How do I mark an annotation item as completed?”
Tell an agent
Set the status of item {itemId} in queue {queueId} to {status}.
Update annotation queue {queueId} item {itemId}.
DELETE /api/public/annotation-queues/{queueId}/items/{itemId} Remove an item from an annotation queue · Annotation queues delete queue item #
Ask an LLM
“How do I take an item out of an annotation queue?”
“Can I delete a single queue item?”
Tell an agent destructive · confirm first
Delete item {itemId} from annotation queue {queueId}.
Remove queue {queueId} item {itemId}.
POST /api/public/annotation-queues/{queueId}/assignments Assign a user to an annotation queue · Annotation queues create queue assignment #
Ask an LLM
“How do I give a user access to an annotation queue?”
“Can I assign a single annotator to a queue?”
Tell an agent
Assign user {userId} to annotation queue {queueId}.
Give annotator {userId} access to queue {queueId}.
DELETE /api/public/annotation-queues/{queueId}/assignments Revoke a user's access to an annotation queue · Annotation queues delete queue assignment #
Ask an LLM
“How do I stop an annotator from working on a queue?”
“Can I remove a user's assignment from an annotation queue?”
Tell an agent destructive · confirm first
Remove user {userId} from annotation queue {queueId}.
Revoke annotator {userId}'s access to queue {queueId}.

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/langfuse:langfuse-annotation-queues-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

langfuse-annotation-queues-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: langfuse Annotation Queues API
  version: ''
  description: '## Authentication


    Authenticate with the API using Basic Auth, get API keys in the project settings:


    - username: Langfuse Public Key

    - password: Langfuse Secret Key


    ## Exports


    - OpenAPI spec: https://cloud.langfuse.com/generated/api/openapi.yml'
tags:
- name: Annotation Queues
paths:
  /api/public/annotation-queues:
    get:
      description: Get all annotation queues
      operationId: annotationQueues_listQueues
      tags:
      - Annotation Queues
      parameters:
      - name: page
        in: query
        description: page number, starts at 1
        required: false
        schema:
          type:
          - integer
          - 'null'
      - name: limit
        in: query
        description: limit of items per page
        required: false
        schema:
          type:
          - integer
          - 'null'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAnnotationQueues'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Annotation queues list queues
      x-summary-source: derived
    post:
      description: Create an annotation queue
      operationId: annotationQueues_createQueue
      tags:
      - Annotation Queues
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueue'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAnnotationQueueRequest'
      summary: Annotation queues create queue
      x-summary-source: derived
  /api/public/annotation-queues/{queueId}:
    get:
      description: Get an annotation queue by ID
      operationId: annotationQueues_getQueue
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueue'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Annotation queues get queue
      x-summary-source: derived
  /api/public/annotation-queues/{queueId}/items:
    get:
      description: Get items for a specific annotation queue
      operationId: annotationQueues_listQueueItems
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      - name: status
        in: query
        description: Filter by status
        required: false
        schema:
          $ref: '#/components/schemas/AnnotationQueueStatus'
      - name: page
        in: query
        description: page number, starts at 1
        required: false
        schema:
          type:
          - integer
          - 'null'
      - name: limit
        in: query
        description: limit of items per page
        required: false
        schema:
          type:
          - integer
          - 'null'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAnnotationQueueItems'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Annotation queues list queue items
      x-summary-source: derived
    post:
      description: Add an item to an annotation queue
      operationId: annotationQueues_createQueueItem
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueItem'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAnnotationQueueItemRequest'
      summary: Annotation queues create queue item
      x-summary-source: derived
  /api/public/annotation-queues/{queueId}/items/{itemId}:
    get:
      description: Get a specific item from an annotation queue
      operationId: annotationQueues_getQueueItem
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      - name: itemId
        in: path
        description: The unique identifier of the annotation queue item
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueItem'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Annotation queues get queue item
      x-summary-source: derived
    patch:
      description: Update an annotation queue item
      operationId: annotationQueues_updateQueueItem
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      - name: itemId
        in: path
        description: The unique identifier of the annotation queue item
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationQueueItem'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAnnotationQueueItemRequest'
      summary: Annotation queues update queue item
      x-summary-source: derived
    delete:
      description: Remove an item from an annotation queue
      operationId: annotationQueues_deleteQueueItem
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      - name: itemId
        in: path
        description: The unique identifier of the annotation queue item
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAnnotationQueueItemResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      summary: Annotation queues delete queue item
      x-summary-source: derived
  /api/public/annotation-queues/{queueId}/assignments:
    post:
      description: Create an assignment for a user to an annotation queue
      operationId: annotationQueues_createQueueAssignment
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateAnnotationQueueAssignmentResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueAssignmentRequest'
      summary: Annotation queues create queue assignment
      x-summary-source: derived
    delete:
      description: Delete an assignment for a user to an annotation queue
      operationId: annotationQueues_deleteQueueAssignment
      tags:
      - Annotation Queues
      parameters:
      - name: queueId
        in: path
        description: The unique identifier of the annotation queue
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAnnotationQueueAssignmentResponse'
        '400':
          description: ''
          content:
            application/json:
              schema: {}
        '401':
          description: ''
          content:
            application/json:
              schema: {}
        '403':
          description: ''
          content:
            application/json:
              schema: {}
        '404':
          description: ''
          content:
            application/json:
              schema: {}
        '405':
          description: ''
          content:
            application/json:
              schema: {}
      security:
      - BasicAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationQueueAssignmentRequest'
      summary: Annotation queues delete queue assignment
      x-summary-source: derived
components:
  schemas:
    AnnotationQueueStatus:
      title: AnnotationQueueStatus
      type: string
      enum:
      - PENDING
      - COMPLETED
    CreateAnnotationQueueItemRequest:
      title: CreateAnnotationQueueItemRequest
      type: object
      properties:
        objectId:
          type: string
        objectType:
          $ref: '#/components/schemas/AnnotationQueueObjectType'
        status:
          $ref: '#/components/schemas/AnnotationQueueStatus'
          description: Defaults to PENDING for new queue items
      required:
      - objectId
      - objectType
    CreateAnnotationQueueAssignmentResponse:
      title: CreateAnnotationQueueAssignmentResponse
      type: object
      properties:
        userId:
          type: string
        queueId:
          type: string
        projectId:
          type: string
      required:
      - userId
      - queueId
      - projectId
    DeleteAnnotationQueueAssignmentResponse:
      title: DeleteAnnotationQueueAssignmentResponse
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    AnnotationQueue:
      title: AnnotationQueue
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        scoreConfigIds:
          type: array
          items:
            type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - name
      - scoreConfigIds
      - createdAt
      - updatedAt
    utilsMetaResponse:
      title: utilsMetaResponse
      type: object
      properties:
        page:
          type: integer
          description: current page number
        limit:
          type: integer
          description: number of items per page
        totalItems:
          type: integer
          description: number of total items given the current filters/selection (if any)
        totalPages:
          type: integer
          description: number of total pages given the current limit
      required:
      - page
      - limit
      - totalItems
      - totalPages
    AnnotationQueueObjectType:
      title: AnnotationQueueObjectType
      type: string
      enum:
      - TRACE
      - OBSERVATION
      - SESSION
    PaginatedAnnotationQueues:
      title: PaginatedAnnotationQueues
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AnnotationQueue'
        meta:
          $ref: '#/components/schemas/utilsMetaResponse'
      required:
      - data
      - meta
    AnnotationQueueItem:
      title: AnnotationQueueItem
      type: object
      properties:
        id:
          type: string
        queueId:
          type: string
        objectId:
          type: string
        objectType:
          $ref: '#/components/schemas/AnnotationQueueObjectType'
        status:
          $ref: '#/components/schemas/AnnotationQueueStatus'
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - queueId
      - objectId
      - objectType
      - status
      - createdAt
      - updatedAt
    PaginatedAnnotationQueueItems:
      title: PaginatedAnnotationQueueItems
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AnnotationQueueItem'
        meta:
          $ref: '#/components/schemas/utilsMetaResponse'
      required:
      - data
      - meta
    AnnotationQueueAssignmentRequest:
      title: AnnotationQueueAssignmentRequest
      type: object
      properties:
        userId:
          type: string
      required:
      - userId
    CreateAnnotationQueueRequest:
      title: CreateAnnotationQueueRequest
      type: object
      properties:
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        scoreConfigIds:
          type: array
          items:
            type: string
      required:
      - name
      - scoreConfigIds
    UpdateAnnotationQueueItemRequest:
      title: UpdateAnnotationQueueItemRequest
      type: object
      properties:
        status:
          $ref: '#/components/schemas/AnnotationQueueStatus'
    DeleteAnnotationQueueItemResponse:
      title: DeleteAnnotationQueueItemResponse
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
      required:
      - success
      - message
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic