Skip to Content

Approval Service — OpenAPI

The approval service manages the HITL approval workflow and immutable audit trail.

Accessing the Spec

Swagger UIhttp://localhost:8004/docs 
ReDochttp://localhost:8004/redoc 
OpenAPI JSONhttp://localhost:8004/openapi.json 

These URLs access the service directly (port 8004), bypassing the API gateway. In production, use the gateway at port 8000.

Route Prefixes

  • /approvals — Approval request CRUD, decision recording (approve/reject/modify), and escalation

Key models: ApprovalDetail, ApprovalListResponse, EscalationResponse. The audit trail is append-only with HMAC-signed entries — decisions cannot be modified or deleted after recording.

Last updated on