|

ReliefGrid API Reference

v1.0.0 · REST · JSON · Bearer Auth

API OnlineSwagger UI ↗

API Reference

All endpoints use Bearer JWT authentication. Responses follow a consistent envelope: { success, data | error }. Errors include structured codes (AUTH-001, WX-401, etc.) and recovery metadata.

Base URLhttp://localhost:8000·All endpoints prefixed with /api/v1

Authentication

2 endpoints

Incident Management

3 endpoints

AI Orchestration

2 endpoints

Memory Engine

1 endpoint

Analytics

3 endpoints

Telemetry

3 endpoints

System

1 endpoint

Error Code Registry

CodeMeaningHTTPRecoverable
AUTH-001Invalid credentials401No
AUTH-002Token expired401Yes — re-login
AUTHZ-001Permission denied403No
VAL-001Invalid request payload422Yes
AGENT-101Agent timeout503Yes — retry ×2
MEM-201Embedding generation failed503Yes — fallback
GIS-301Invalid coordinates422Yes
GIS-302Route calculation failed503Yes — fallback
WX-401Weather API unavailable503Yes — cached
AI-601Bedrock timeout503Yes — retry ×3
DB-501CockroachDB transaction conflict503Yes — retry ×5
DB-502Record not found404No
SYS-999Unexpected platform error500No — escalated