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

# Document status



## OpenAPI

````yaml api/openapi.json GET /documents/{id}
openapi: 3.1.0
info:
  title: Amoreg Regulatory Knowledge API
  version: 1.0.0
  description: >-
    Hybrid semantic + keyword search over Amoreg's regulatory knowledge base,
    scoped to the jurisdictions enabled for your organisation. Prepaid credits
    in GBP: 2p per search, 2p per screening keyword.
servers:
  - url: https://app.amoreg.com/api/v1
security:
  - apiKey: []
paths:
  /documents/{id}:
    get:
      summary: Document status and metadata
      operationId: getDocument
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The document
          content:
            application/json:
              schema:
                type: object
                properties:
                  document:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      filename:
                        type: string
                      status:
                        type: string
                        enum:
                          - processing
                          - ready
                          - failed
                      jurisdictionSlugs:
                        type: array
                        items:
                          type: string
                      pages:
                        type: integer
                        nullable: true
                      createdAt:
                        type: string
                        format: date-time
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
      required:
        - error
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Organisation API key created in the dashboard (format: amrg_live_…).
        Sent as `Authorization: Bearer amrg_live_…`.

````