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

# Bulk canonicalize (async)

> Submit a CSV for canonicalization. Returns job_id; poll GET /bulk/jobs/{id} for status. Download from GET /bulk/jobs/{id}/download when status is DONE.



## OpenAPI

````yaml POST /api/v1/bulk/job-titles/canonicalize
openapi: 3.0.3
info:
  title: Normalize API
  version: 1.0.0
  description: >-
    Job title normalization API. Convert natural language job descriptions to
    canonical titles or boolean search strings.
servers:
  - url: https://trynormalize.com
security:
  - bearerAuth: []
paths:
  /api/v1/bulk/job-titles/canonicalize:
    post:
      summary: Bulk canonicalize (async)
      description: >-
        Submit a CSV for canonicalization. Returns job_id; poll GET
        /bulk/jobs/{id} for status. Download from GET /bulk/jobs/{id}/download
        when status is DONE.
      operationId: bulkCanonicalize
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: UUID. Repeated upload with same key returns existing job.
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/BulkJobRequest'
      responses:
        '200':
          description: Job submitted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkJobCreated'
        '400':
          description: Bad request (e.g. limits exceeded, invalid column)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Quota exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Plan does not include bulk
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    BulkJobRequest:
      type: object
      required:
        - file
        - column
      properties:
        file:
          type: string
          format: binary
          description: CSV file.
        column:
          type: string
          description: Column name in CSV header for job title input.
        exclude:
          type: string
          description: JSON array of exclude terms, e.g. ["intern", "student"].
    BulkJobCreated:
      type: object
      required:
        - job_id
        - status
      properties:
        job_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - PENDING
            - RUNNING
            - DONE
            - FAILED
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - details
            - request_id
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - limits_exceeded
                - invalid_json
                - invalid_input_format
                - authentication_failed
                - invalid_api_key
                - quota_exceeded
                - plan_restricted_feature
                - resource_not_found
                - bulk_job_conflict
                - parsing_failed
                - ambiguous_mapping
                - rate_limited
                - public_try_exceeded
                - internal_error
                - llm_error
                - database_error
            message:
              type: string
            details:
              type: object
              additionalProperties: true
            request_id:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key from the dashboard. Pass as `Authorization: Bearer <key>`.'

````