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

Make your first request

Send your API key in the X-API-Key header. A good first call is listing your documents — it returns immediately with no required body.

curl https://api.anchorgrid.ai/v1/documents \
  -H "X-API-Key: <your-api-key>"
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

First-request reference

GET /v1/documents

Request
Method
GET
URL
https://api.anchorgrid.ai/v1/documents
X-API-Key
Your API key (required)
limit
Query param — default 20, clamped 1–100
offset
Query param — default 0
Response — 200 OK
{
  "documents": [
    {
      "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-20T14:32:00Z",
      "expires_at": "2026-04-20T14:32:00Z"
    }
  ],
  "limit": 20,
  "offset": 0
}

Only documents with expires_at > now() are returned. Presigned download URLs are not included in the list — fetch a single document via GET /v1/documents/{id} to get one.

Next steps