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

# Create annotation task

> Create an annotation task for annotators to label items against evaluators



## OpenAPI

````yaml /api-reference/openapi.json post /annotation-tasks
openapi: 3.1.0
info:
  title: Calibrate Public API
  version: 0.1.0
  description: Programmatic API for CI/automation. Pass your key in the `X-API-Key` header.
servers:
  - url: https://api.calibrate.artpark.ai
    description: Production
security: []
paths:
  /annotation-tasks:
    post:
      tags:
        - annotation-tasks
      summary: Create annotation task
      description: >-
        Create an annotation task for annotators to label items against
        evaluators
      operationId: create_annotation_task_endpoint_annotation_tasks_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnnotationTaskCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnnotationTaskCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    AnnotationTaskCreate:
      properties:
        name:
          type: string
          title: Name
          description: Task name, unique within your workspace
        type:
          type: string
          enum:
            - stt
            - llm
            - llm-general
            - conversation
            - tts
          title: Type
          description: |-
            Task type. Determines the shape of each item's payload.
            - `stt`: judge a transcript on its own
            - `llm`: judge one response with its conversation history
            - `llm-general`: judge a standalone `input -> output` pair
            - `conversation`: judge a full conversation
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: A description for the task. Omit for none
        evaluator_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Evaluator Ids
          description: >-
            IDs of evaluators to link when the task is created, in order. Each
            must be one you created or a built-in default. Omit to create with
            no linked evaluators
          examples:
            - - f47ac10b-58cc-4372-a567-0e02b2c3d479
      type: object
      required:
        - name
        - type
      title: AnnotationTaskCreate
    AnnotationTaskCreateResponse:
      properties:
        uuid:
          type: string
          maxLength: 36
          minLength: 36
          title: Uuid
          description: ID of the newly created task
          examples:
            - f47ac10b-58cc-4372-a567-0e02b2c3d479
        message:
          type: string
          title: Message
          description: Confirmation that the task was created
      type: object
      required:
        - uuid
        - message
      title: AnnotationTaskCreateResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````