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

# Create a screening

> Durable background run: reserves 2p per keyword up front, settles the actual cost when the run completes, and releases the remainder. Poll GET /screenings/{id} for results.



## OpenAPI

````yaml api/openapi.json POST /screenings
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:
  /screenings:
    post:
      summary: Screen a batch of keywords against the knowledge base
      description: >-
        Durable background run: reserves 2p per keyword up front, settles the
        actual cost when the run completes, and releases the remainder. Poll GET
        /screenings/{id} for results.
      operationId: createScreening
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                keywords:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 100
                jurisdictions:
                  type: array
                  items:
                    type: string
                topK:
                  type: integer
                  minimum: 1
                  maximum: 20
                  default: 5
              required:
                - keywords
      responses:
        '202':
          description: Screening run accepted
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  estimatedCostPence:
                    type: integer
        '402':
          description: Insufficient credit for the reservation
          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_…`.

````