API & Integration Reference
Typed operational boundaries for citizen reporting, workflow execution, ML inference, and supervisor review actions.
01
Civitas Envelope Specification
Every API endpoint wraps its payload in a standardized Civitas Envelope. Successful responses include a success boolean, data payload, and metadata. Error responses return structured error codes and human-actionable messages without leaking private secrets.
INTERACTIVE SPECIFICATION
Civitas REST API Endpoints
All endpoints return a typed Civitas Envelope structure. Model outputs, retrieved policy references, and human decisions are strictly isolated in schema responses.