API Overview - Developer Docs
What the PrecisionDocs public API is, the base URL, and how to connect.
What is the PrecisionDocs public API?
The PrecisionDocs public API lets your own tools, agents, and scripts drive the same project workflow your connected AI uses: screen a parcel without a project, create a project for deeper research, ask cited questions from available evidence, search indexed sources, generate reports, and download artifacts.
All REST endpoints live under https://api.precisiondocs.ai/v1.
Two access surfaces, one API:
| Surface | How it connects | Best for |
|---|---|---|
| Remote MCP | https://mcp.precisiondocs.ai/mcp - PrecisionDocs OAuth, no key | Claude, ChatGPT, Claude Code, OpenAI Codex, Gemini CLI, Cursor, any MCP client |
| REST | HTTPS + Authorization: Bearer pd_live_... header | Scripts, backends, CI, ChatGPT Actions |
The machine-readable spec is at https://api.precisiondocs.ai/v1/openapi.json.
To connect your AI, log in to PrecisionDocs, choose your app, and follow the guided setup. No API key is needed. This page is the endpoint-level reference.
Creating a project from an agent. A connected agent walks the same steps as project setup:
- Resolve each address or APN with
POST /v1/parcels/resolve. Candidates carry address, size, confidence and GeoJSON geometry, andll_uuidwhere the parcel has one. - Show the user the chosen parcels with
POST /v1/parcels/preview. - Learn which goal questions still need asking with
POST /v1/plan-check. - Dry-run the create with
POST /v1/projects,dry_run: trueandsetup_mode: "wizard". The response is the pre-Create screen:estimate,prep_summary.sources(every governing source discovery found, with status and URL) andgaps(each source discovery could not settle, naming the request field that fills it:ordinance_url,county_ordinance_url,pending_gis_sources, or askip_*flag the user must confirm). Aconfirmation_requiredresponse is a question for the user; answer it by re-submitting with the field its options map to. - Create for real with an
Idempotency-Keyand pollGET /v1/projects/{id}.
Use available evidence immediately: chat_ready tracks the build and explicit zoning-confirmation checkpoint, while questions, search, reports, documents, and GIS remain available with partial coverage disclosed.