Skip to main content
POST
Upload a policy PDF into the knowledge base

Authorizations

Authorization
string
header
required

Organisation API key created in the dashboard (format: amrg_live_…). Sent as Authorization: Bearer amrg_live_….

Body

multipart/form-data
file
file
required

The PDF file.

jurisdictionSlugs
string

Optional JSON array of jurisdiction slugs, e.g. ["fca"].

Response

Accepted — ingestion started

id
string<uuid>
status
string
filename
string
pages
integer
creditsChargedPence
integer
availablePence
integer