Skip to content

API Reference

The Spatial.Properties API provides programmatic access to geospatial assessment, batch processing, billing, and report generation.

All API requests are made to:

https://api.spatial.properties

Most endpoints require a Supabase JWT access token passed as a Bearer token in the Authorization header. See the Authentication guide for details.

Three endpoints use Server-Sent Events (SSE) for streaming responses:

  • POST /chat — Chat with the spatial analysis agent Operational
  • POST /batch/upload — Upload and process batch assessments Operational
  • POST /report/generate — Generate PDF reports Operational

These endpoints return text/event-stream instead of JSON. See individual endpoint documentation for SSE event formats.