API Reference
This section provides comprehensive documentation for all GeoFlow APIs. GeoFlow exposes several service APIs for integration with external systems and automation.Service APIs
GeoFlow App API
RESTful API for the main application interface. Base URL:http://localhost:3000/api (development)Authentication: JWT Bearer token
Format: JSON
Convex Backend API
GraphQL and REST API for data operations. Base URL:http://localhost:3210 (development)Authentication: Convex session tokens
Format: JSON/GraphQL
PDAL Worker API
Processing API for geospatial data operations. Base URL:http://localhost:3002/api (development)Authentication: API key
Format: JSON
Motia Workflow API
Workflow execution and management API. Base URL:http://localhost:4010 (development)Authentication: API key
Format: JSON
MCP Server API
AI-powered geospatial analysis API. Base URL:http://localhost:8000 (development)Authentication: API key
Format: JSON
Authentication
JWT Authentication
API Key Authentication
Convex Authentication
Response Format
All APIs return JSON responses with consistent structure:Rate Limiting
- Authenticated requests: 1000 requests per hour
- Anonymous requests: 100 requests per hour
- Processing jobs: 10 concurrent jobs per user
Error Codes
| Code | Description |
|---|---|
VALIDATION_ERROR | Invalid request parameters |
AUTHENTICATION_ERROR | Invalid or missing credentials |
AUTHORIZATION_ERROR | Insufficient permissions |
NOT_FOUND | Resource not found |
RATE_LIMITED | Too many requests |
INTERNAL_ERROR | Server error |
PROCESSING_ERROR | Data processing failed |
SDKs and Libraries
JavaScript/TypeScript
Python
Webhooks
GeoFlow can send webhook notifications for important events:Supported Events
workflow.started- Workflow execution startedworkflow.completed- Workflow execution completedworkflow.failed- Workflow execution failedfile.processed- File processing completeduser.created- New user account created
Webhook Payload
Webhook Security
Webhooks include anX-Webhook-Signature header for verification:
Versioning
API versioning follows semantic versioning:- Breaking changes: New major version (e.g.,
v2/) - New features: New minor version (e.g.,
v1.1/) - Bug fixes: Patch versions (backward compatible)
v1.0
Specify version in URL path:
Support
For API support:- Documentation: This API reference
- Status Page: https://status.geoflow.com
- Support: [email protected]
- Community: GitHub Discussions