Skip to content
by Unity Nodes
Partner docsapi reference › admin › list api keys across all organizations admin only

NEAR AI Cloud: List API keys across all organizations (Admin only)

Updated 13-11-2026

GET /v1/admin/api-keys List API keys across all organizations (Admin only) Deprecated: this endpoint is moving to cloud-platform at the same path; the cloud-platform base URL will be announced. Behaviour may differ in edge cases.

Returns key metadata for activation reporting, newest first, including revoked and inactive keys. Never returns key material (raw key, hash, or prefix) or key names.

Admin permissions: admin session, read_write token, or read_only token. Approved read across organizations; does not mutate business state.

Parameters:

  • limit (query, integer): Maximum number of API keys to return (default: 100).
  • offset (query, integer): Number of API keys to skip (default: 0).
  • organization_id (query, string): Filter by organization ID.
  • created_after (query, string): Only keys created at or after this timestamp.
  • created_before (query, string): Only keys created at or before this timestamp.

Responses: 200: API keys retrieved successfully

  • api_keys (array of object, required)
    • created_at (string, date-time, required)
    • created_by_user_id (string, required): User who created the key.
    • deleted_at (string, date-time): Set when the key was revoked.
    • id (string, required)
    • is_active (boolean, required)
    • is_managed_playground (boolean, required): True when the key's name matches the Cloud UI's managed Playground key naming (Playground-<uuid>-g<generation>). Best-effort: derived from the user-editable key name, not stored provenance.
    • organization_id (string, required)
    • organization_name (string, required)
    • workspace_id (string, required)
  • limit (integer, int64, required)
  • offset (integer, int64, required)
  • total (integer, int64, required) 400: Invalid request 401: Unauthorized 403: Missing admin privileges (forbidden) or insufficient token permission (insufficient_permissions). 500: Internal server error