v48

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-275867561.6 MB
orgs

Create Org Service Key

Create org-scoped service key. If workspaces is None, key is org-wide.

post/api/v1/orgs/current/service-keys

Request body

descriptionstring
read_onlyboolean
expires_atstring date-time nullable
workspacesstring[] nullable
role_idstring uuid nullable
org_role_idstring uuid nullable
default_workspace_idstring uuid nullable

Response

Successful Response

created_atstring date-time nullable
idstring uuid required
short_keystring required
descriptionstring required
read_onlyboolean
last_used_atstring date-time nullable
expires_atstring date-time nullable
workspace_namesstring[] nullable
default_workspace_namestring nullable
keystring required