API Keys
List API keys
Lists all API keys in the selected organization, visible to every member of it. Secrets are never returned; only a short suffix is shown to help identify each key. Requires an interactive (JWT) session: an API key cannot list keys. Use the X-Organization-Id header to choose the organization; otherwise the caller's default organization is used.
X-Organization-IdstringobjectstringrequireddataarrayrequiredShow child attributes
idstring · uuidrequiredapiKeySuffixstringrequirednamestringnullablecreatedAtstring · date-timerequiredlastUsedAtstring · date-timenullableCreate an API key
Creates a new API key in the selected organization and returns its secret. The full secret is shown only once, in this response; it is never retrievable again.
Requires an interactive (JWT) session: an API key cannot create another API key. Use the X-Organization-Id header to choose which organization the new key belongs to.
X-Organization-IdstringnamestringrequiredA newly created API key. apiKey is the full secret and is returned only here, only once.
idstring · uuidrequiredapiKeystringrequirednamestringrequiredcreatedAtstring · date-timerequiredDelete an API key
Permanently deletes an API key in the organization. Any key in the organization can be deleted (not only the caller's own). Requires an interactive (JWT) session: an API key cannot delete keys. Requires a read/write or admin role; read-only members cannot delete keys. Use the X-Organization-Id header to choose the organization; otherwise the caller's default organization is used.
idstring · uuidrequiredX-Organization-Idstring