Skip to main content
GET
Get your workspace API key
Returns your key for the current workspace. Use it to authenticate scripts and CI. See the Quickstart. Your personal key for the current workspace, created on first read. Needs a workspace context.
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

The key

apiKey
string
Example:

"oc_…"