Skip to main content
GET
Get your profile
Returns your profile. Use it to check that an API key is valid and see which account it belongs to. Related guide: Quickstart. Works with a workspace key, an organization key, or a session. The CLI uses it to verify a key.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Response

200 - application/json

The profile

id
string
email
string
name
string | null
createdAt
string<date-time>