Authentication

Every request to the AnchorGrid API must include your API key in the X-API-Key header.

Include the header on every request. The value is the full key secret you copied from the portal. It starts with ag-prod- followed by 64 hex characters.

Request
GET https://api.anchorgrid.ai/v1/documents
X-API-Key: ag-prod-<64 hex chars>
Header nameX-API-Key
Formatag-prod- + 64 hex characters
StorageThe raw key is never stored, only a SHA-256 hash.
Missing or invalid401 The response is intentionally generic.
The secret is shown onceYou see the full key only when you create it. After that the portal shows a masked prefix, so store the key securely before closing the dialog.

Get an API key

Sign in to the AnchorGrid portal, open API Keys and create a new key. Copy the secret right away. No account yet? Request API access first.

Open the portal

Plans and rate limits

Each API key carries its account's plan, which sets the rate limit, upload size, document retention, usage allowance and webhook delivery. See Usage for how analyses are counted.

PlanRate limitWebhooks
free5 requests / minNo
developer60 requests / minYes
pro120 requests / minYes
enterprise300 requests / minYes

Rate-limited requests return 429 with X-RateLimit-* headers and a retry_after_seconds field in the body.

Where to go next

Searches these docs: guides, the basics and every endpoint.

Make your first requestPlayground walkthrough: upload, choose an analysis, run it
Connect your softwareYour application calls the REST API. Requires an API key
Connect your AI agentGive an agent a tool that calls the REST API
AuthenticationX-API-Key header, 401 errors, keeping keys safe
Detect doorsPOST /v1/drawings/detection/doorsDoor detection — Find the doors on the pages of an architectural drawing set.
Check your resultsGET /v1/jobs/{job_id}Get a job — See a job’s status and, once it’s complete, its results.