Skip to main content
GET

Overview

Returns all active API keys for the authenticated user. The plaintext key value is never returned after creation — only the key_prefix (first 8 characters) is shown for identification. Auth: A dashboard session (Authorization: Bearer <jwt>) or an API key (danube-api-key). An agent can manage keys with its own key.

Query Parameters

string
List the keys that belong to this organization instead of the keys you created. An owner or admin of the organization gets every member’s keys, each with user_id and created_by_name; a member gets only their own. 403 when you are not a member.

Response

Returns an array of API key objects.
string
API key UUID
string
First 8 characters of the key (for identification)
string
Display name for the key
string
ISO 8601 creation timestamp
string
ISO 8601 timestamp of last usage (null if never used)
string
The organization the key belongs to
object
Resource permissions. null means unrestricted access.

Example