We collect minimal analytics to understand how the site is used. If you decline, we do not load analytics.
Overview / Quick Start

Up and running in minutes.

Three steps: get an API key, make your first request, see a live response.

01

Create an account & API key

Head to the AnchorGrid console to sign up. Once you're in, navigate to API Keys and create a new key. Copy it immediately — the secret is shown only once.

Open Console

Keys are prefixed ag-prod- followed by 64 hex characters. The raw secret is returned once on creation — after that only a masked prefix is shown in the console.

02

Upload your first PDF

Every detection endpoint requires a document_id — you get one by uploading your PDF to POST /v1/documents. The request is multipart/form-data with a single file field. You get back a document_id to use in subsequent calls.

curl -X POST https://api.anchorgrid.ai/v1/documents \
  -H "X-API-Key: <your-api-key>" \
  -F "file=@floor-plan.pdf"
03

See a live response

Paste your key below and hit Run. The request goes directly to api.anchorgrid.ai from your browser — nothing is stored here.

GET
api.anchorgrid.ai/v1/documents
Response will appear here

Upload reference

POST /v1/documents

Request
Method
POST
URL
https://api.anchorgrid.ai/v1/documents
Content-Type
multipart/form-data
X-API-Key
Your API key (required)
file
PDF binary — max 50 MB (free) · 100 MB (developer) · 150 MB (pro) · 200 MB (enterprise)
Response — 201 Created
{
  "document_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "original_filename": "floor-plan-lvl2.pdf",
  "file_size_bytes": 2048000,
  "page_count": 24,
  "mime_type": "application/pdf",
  "tier": "developer",
  "uploaded_at": "2026-03-30T14:32:00Z",
  "expires_at": "2026-04-29T14:32:00Z",
  "download_url": "https://...",
  "download_url_expires_in_seconds": 900
}

Save the document_id — pass it to any detection endpoint. The download_url is a short-lived presigned URL (15 min); re-fetch via GET /v1/documents/{id} when it expires.

Next steps