Base URL
/api/v1.
Authentication
Authenticate with an API key using theX-API-Key header:
Create API keys in the dashboard under Settings > API Keys or via
moss key create.
Response Envelope
All responses use a consistent JSON envelope.Single resource
List
Deletion
Error Responses
Errors return an appropriate HTTP status code with a structured error body:Pagination
List endpoints accept these query parameters:
Pagination metadata is included in the
meta object of list responses.
Idempotency
For mutation endpoints (POST, PATCH, DELETE), include theIdempotency-Key header to prevent duplicate operations:
Request Tracing
Include theX-Request-Id header to attach a trace ID to your request. This ID appears in audit logs and can help with debugging.