Groundline

Developers

REST API and MCP connector

Every response carries the same envelope the UI reads: data, plus sources, assumptions, gaps, confidence, warnings, engine versions and disclaimers.

Response envelope

{
  "data": { ... },
  "meta": {
    "generatedAt": "2026-07-26T12:00:00.000Z",
    "engineVersions": { "zoning": "1.2.0", "envelope": "1.3.0", ... },
    "confidence": "medium",
    "sources": [ { "sourceName": "...", "citation": { "section": "..." }, "effectiveDate": "...", "retrievedAt": "..." } ],
    "assumptions": [ { "label": "...", "value": 11, "origin": "platform_default", "rationale": "..." } ],
    "gaps": [ { "label": "...", "reason": "...", "remediation": "..." } ],
    "warnings": [ "..." ],
    "disclaimers": [ "..." ]
  }
}

Endpoints

MethodPathPurpose
POST/api/v1/addresses/searchResolve an address or APN to ranked parcel candidates
GET/api/v1/parcels/{id}Parcel record, geometry, ownership, tax, improvements, easements
GET/api/v1/parcels/{id}/zoningBase district, overlays, dimensional standards, use table
GET/api/v1/parcels/{id}/envelopeBuildable envelope geometry, area and lot-line classification
GET/api/v1/parcels/{id}/yieldFootprint, floor area, stories, units by use, parking, subdivision
GET/api/v1/parcels/{id}/plansArchitectural plan matches with placement geometry
GET/api/v1/parcels/{id}/comparablesComparable sales grid with every adjustment
GET/api/v1/parcels/{id}/valuationReconciled valuation with approach weights
GET/api/v1/parcels/{id}/scenariosAvailable scenario templates for the parcel
POST/api/v1/parcels/{id}/scenariosRun a scenario with overrides and receive the full pro forma
POST/api/v1/copilot/askAsk the Copilot; returns the answer, tool transcript and guardrail verdict
GET/api/v1/jurisdictionsPublished jurisdictions, rules versions and known gaps
GET/api/v1/sourcesSource registry with licence and acquisition method
GET/api/v1/meCurrent identity, organisation, plan, entitlements and quota status
GET/api/v1/openapi.jsonMachine-readable specification

Standards

  • Versioned path prefix; no breaking change without a new version
  • Bearer API key or session authentication; scopes per key
  • Rate limited per organisation, with limit headers on every response
  • Idempotency keys on writes
  • Every access written to the audit log
  • Errors return a machine-readable code, a human message, and the remedy

MCP connector

Groundline ships a Model Context Protocol server so an AI assistant can use the same tools the Copilot uses — with the same guardrails. Run npm run mcp for the stdio server.