Required Permissions
Your root key must have one of the following permissions for basic key information:api.*.read_key(to read keys from any API)api.<api_id>.read_key(to read keys from a specific API)
Request
The complete API key string provided by you, including any prefix.Never log, cache, or store API keys in your system as they provide full access to user resources.Include the full key exactly as provided - even minor modifications will cause a not found error.Example:
sk_1234abcdef5678Response
The unique identifier for this key in Unkey’s system.
The prefix of the key for visual identification.
Whether the key is currently active.
Human-readable name for the key.
Unix timestamp in milliseconds when the key was created.
Unix timestamp in milliseconds when the key expires (if set).
Custom metadata attached to the key.
Array of permission strings assigned to the key.
Array of role names assigned to the key.
Credit balance and refill configuration.
Array of rate limit configurations attached to the key.
Identity information if the key is associated with an identity.