PrecisionDocs

Projects Lifecycle - Developer Docs

Create a project, poll readiness, and verify parcel zoning over REST.

How do I create and manage projects?

EndpointWhat it doesRate limit
POST /v1/projectsCreate a project (returns 202; the build runs in the background)8/min
GET /v1/projectsList your projects, a page at a time: limit (1-100) and cursor, answered as data and next_cursor (null on the last page)60/min
GET /v1/projects/{project_id}Poll readiness + knowledge-base summary60/min
PATCH /v1/projects/{project_id}/parcels/{parcel_index}/zoningVerify or correct a parcel zoning designation30/min

Creating a project (POST /v1/projects):

  • dry_run: true returns a setup and cost estimate without creating anything.
  • setup_mode: "wizard" (default) runs the same source checks as project setup in a connected AI; setup_mode: "provided" preserves caller-supplied parcels and source decisions.
  • When the platform needs a decision (ambiguous parcels, source choices, duplicates), the API responds 422 with confirmation_required and the choices to present. Re-submit with the selections applied.
  • Send an Idempotency-Key header so a retried create never makes a duplicate project.

Polling readiness (GET /v1/projects/{project_id}):

  • Poll every 5-15 seconds. agent_ready means available project and parcel evidence can be used now. chat_ready tracks the build and explicit zoning-confirmation checkpoint; it does not gate questions, reports, documents, searches or GIS. Each calculation still needs its specific inputs, and partial source coverage must be disclosed.
  • status is queued, running, ready, partial (the build finished with source gaps, which message names and GET /v1/projects/{project_id}/source-needs lists), needs_input (a code lane waits for the source your agent hands back) or failed.
  • The response carries a readiness block with per-target ordinance status, GIS layer states, supplemental source lanes, and advisories - use it to see exactly which lane is still open. A section that could not be read holds one row with status unread, which is not evidence that nothing is pending: poll again.
  • chat_ready: false with zoning_verification_required identifies parcels whose district needs confirmation. Confirm or correct them through the zoning PATCH. API chat never records that confirmation, and unrelated available work remains usable.

Other API topics

PrecisionDocs
Reload page