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

# Asynchronous Extraction

> Queue a document for extraction. Returns an ID to poll status or receive webhook.



## OpenAPI

````yaml POST /v1/extract/async
openapi: 3.1.0
info:
  title: Kiriku API
  description: >-
    Intelligent Document Processing API for West Africa. Extract structured data
    from ID cards, passports, and more.
  version: 1.0.0
  contact:
    email: contact@kiriku.sn
servers:
  - url: https://api.kiriku.app
    description: Production API
security:
  - bearerAuth: []
paths:
  /v1/extract/async:
    post:
      summary: Extract Data (Asynchronous)
      description: >-
        Queue a document for extraction. Returns an ID to poll status or receive
        webhook.
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                documentType:
                  type: string
              required:
                - file
                - documentType
      responses:
        '200':
          description: Queued successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  extractionId:
                    type: string
                  status:
                    type: string
                    example: queued
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT/API Key

````