> ## 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.

# Get Extraction

> Retrieve the status and result of an extraction.



## OpenAPI

````yaml GET /v1/extractions/{id}
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/extractions/{id}:
    get:
      summary: Get Extraction
      description: Retrieve the status and result of an extraction.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Extraction details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionResult'
components:
  schemas:
    ExtractionResult:
      type: object
      properties:
        referenceId:
          type: string
        status:
          type: string
          enum:
            - completed
            - failed
        documentType:
          type: string
        result:
          type: object
          properties:
            extractedData:
              type: object
            globalConfidence:
              type: number
        creditsUsed:
          type: number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT/API Key

````