Skip to main content

List API keys (admin)

Coming soon

The v2 MCP API is in preview and not yet generally available. These pages document its tools and request/response shapes; live data access is limited to enrolled organizations until v2 is released.

List API keys across all users in the org with owner email, scope, last-used timestamp, and 12-character key prefix. The raw key is NEVER returned. Requires an admin-scoped API key.

Parameters

NameTypeDefaultDescription
user_idstring-Filter by owning user ID.
scopestring-Filter by scope. Pre-#1150 keys with NULL scope are returned under user.
include_system_managedboolean-Include OAuth/onboarding-managed keys (default false).
limitinteger-Page size (1-500, default 100).
cursorstring-Opaque pagination cursor.

Response Format

FieldTypeDescription
apiKeysarrayAPI keys page (up to limit items). Use nextCursor to fetch the next page.
apiKeys[].idstring
apiKeys[].namestring
apiKeys[].keyPrefixstringFirst 12 characters of the raw key for identification — never the full raw key.
apiKeys[].scopestringCoerced from null → 'user' for pre-#1150 rows.
apiKeys[].userIdstring
apiKeys[].userEmailstring | null
apiKeys[].userNamestring | null
apiKeys[].isSystemManagedboolean
apiKeys[].createdAtstring
apiKeys[].lastUsedAtstring | null
nextCursorstring | nullOpaque cursor for the next page; null when no more results.