Authentication
Accepts either:- An API key (
X-API-Key: sk_...) with theread:audit-logsscope. - A Supabase Bearer session (
Authorization: Bearer <token>) with theX-Organization-Id: <org-id>header — the user must be an owner or admin of that organization.
Rate limit
Verifying recomputes the whole chain, so this endpoint is limited to 10 requests per minute, on top of your plan’s limit. Beyond that it returns429 Too Many Requests.
Example Request
Example Response
Common Errors
403 Forbidden
Not an owner or admin, or the API key lacks theread:audit-logs scope.