Skip to main content
Manage API keys (organization admin only).

olira keys create

Create a new API key.
FlagDescription
--nameKey name (skips the interactive prompt).
--scopesScopes to grant (space-separated). Skips the interactive picker. Valid: mcp:patient-state, mcp:integration, sdk:event-log, sdk:patient-token, api:manage-patients, api:org-config, sdk:state-read, sdk:historical-ingest.
Use olira keys create --scopes … for non-interactive creation, or omit --scopes for the interactive picker. See Scopes for what each scope grants.

olira keys list

List API keys for your organization.

olira keys revoke

Permanently revoke an API key.
FlagDescription
keyKey name or ID to revoke