API Reference
The Spatial.Properties API provides programmatic access to geospatial assessment, batch processing, billing, and report generation.
Quick Links
Section titled “Quick Links”- Authentication — How to obtain and use API tokens
- Error Reference — Error codes, response formats, and troubleshooting
- API Playground — Interactive API testing
- Endpoints — Browse all public API endpoints
Base URL
Section titled “Base URL”All API requests are made to:
https://api.spatial.propertiesAuthentication
Section titled “Authentication”Most endpoints require a Supabase JWT access token passed as a Bearer token in the Authorization header. See the Authentication guide for details.
Streaming Endpoints
Section titled “Streaming Endpoints”Three endpoints use Server-Sent Events (SSE) for streaming responses:
POST /chat— Chat with the spatial analysis agent OperationalPOST /batch/upload— Upload and process batch assessments OperationalPOST /report/generate— Generate PDF reports Operational
These endpoints return text/event-stream instead of JSON. See individual endpoint documentation for SSE event formats.