Skip to main content
POST
Create Workspace

Authorizations

Authorization
string
header
required

A control-plane management key using the sk-cp- prefix. Inference keys are not accepted by control-plane endpoints.

Path Parameters

org_id
string
required

Organization ID or slug

Body

application/json
name
string
required

Workspace name, e.g. Staging

Required string length: 1 - 200
slug
string
default:""

Workspace handle, unique in the org and usable in place of the id; derived from the name when omitted

Maximum string length: 63
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Response

Successful Response

data
WorkspaceOut · object
required