Docs · API
MizuAlign API Reference
The API is versioned under /api/v1. Responses use a consistent envelope for both success and error cases.
Getting Started
Fetch the machine-readable specification at /api/v1/openapi.json.
GET /api/v1/receipts?page=1&limit=20 Authorization: Bearer <supabase-jwt>
Core endpoints
Infrastructure
Response envelope
Success:
{
"data": [...],
"meta": { "page": 1, "limit": 20, "total": 42, "totalPages": 3 }
}
Error:
{
"error": { "code": "UNAUTHORIZED", "message": "Authentication required" },
"requestId": "uuid"
}