API reference · v1
List documents
Current document metadata and council links, without downloading or interpreting PDFs. Pagination stays on the first page’s snapshot.
GET/v1/applications/{id}/documents
Send a secret API key in Authorization: Bearer YOUR_API_KEY. Each successful request uses one of your 500 monthly requests.
Parameters
idpath · requiredOpaque ID returned by the corresponding list endpoint. URL-encode the whole value.
limitquery · optionalPage size. 1–100, default 50.
Default:
50Range: 1–100
cursorquery · optionalOpaque cursor from this endpoint with the same filters. Keep it unchanged; page size may change.
Response fields
itemsarrayArray of the items described below.
Show item fields
idstringStable document identifier.
titlestringCouncil document title.
sourceTypestringOriginal document type.
category"Plans" | "Reports" | "Decisions" | "Forms" | "Correspondence" | "Other"Broad document grouping inferred from the source title and type; Other is unclassified.
publishedDatestring · optionalPublished calendar date Omitted when not collected.
mimeTypestring · optionalPublished MIME type Omitted when not collected.
urlstringAbsolute source URL. Council links may change or require a browser session.
listUrlstringCouncil document-list page to try if the direct link requires a session.
firstSeenAtstringUTC time this document was first observed, not its publication date.
lastSeenAtstringUTC time this document was last present in a collected list.
removedAtstring · optionalWhen removal was observed; omitted for current documents.
nextCursorstring | nullContinue with this cursor; null when this page exhausts the current query.
snapshotIdstringValue from the collected source record.
availability"complete" | "partial" | "unavailable" | "not_published"complete: section collected; partial: some evidence missing; unavailable: could not read; not_published: source explicitly publishes none.
Errors
Error codes, request IDs, retry behaviour, and allowance headers apply to every endpoint. Invalid or repeated query parameters return 400; unavailable records return 404. Source failures never become successful empty results.