Skip to main content
GET
Check API authentication
Call this first with a new key. The single entry in organizations is the organization the key belongs to. Use its id for organization routes such as List organization SSH keys, and check approved before browsing or buying Reserve capacity. The key is its own caller: user_id is the key’s ID, and api_key.access is read or read_write. This is the only account read an API key can make. Profile, member, preference, and notification routes are console-only and return 403 with api_key_requires_session. CLI equivalent: ornn context.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Response

The API key as the caller, its access, and its organization.

user_id
string<uuid>
required

For an API key, the key's ID.

email
string
required

For an API key, a non-deliverable address ending in @api-key.invalid.

role
string
required

API keys always resolve as user.

impersonating
boolean
required
organizations
object[]
required
name
string | null

For an API key, the key's name.

api_key
object

Present when the credential is an API key.