Skip to main content
Two read surfaces expose the write-only alert sinks that were previously only visible in tests.

Team admin alerts

Team owners can list unresolved operational alerts for their team. These carry diagnostic payloads — they are JWT-only and cannot be read by a mio_sk_ API key.
Auth: team-owner JWT session. API keys are rejected. Query parameters: Response shape:
Results are ordered most-recent first. The list returns unresolved alerts only.

Platform admin alerts

Platform admins can list unresolved cross-tenant alerts (abuse signals, infrastructure events).
Auth: platform_admin role required. Query parameters: Response shape:
Results are ordered most-recent first.

Role permissions

Platform admins can assign and remove permissions from roles without rebuilding the role.
Auth: JWT session. API keys are rejected.

Assign a permission

Returns 201 with the updated role resource. Re-assigning a permission the role already holds is a no-op that still returns 201.

Remove a permission

Returns 204 No Content. Removing a permission the role does not hold is a no-op that still returns 204. Returns 404 if the role itself does not exist.