Skip to main content
POST
Get Or Create Scope

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

Body

application/json

Scope creation parameters

id
string
required
Minimum string length: 1
metadata
Metadata · object | null

Response

Successful Response

Scope response — external view of the peer backing a scope.

The id is the unprefixed scope name; the reserved peer-name prefix is an internal implementation detail and never surfaces here.

id
string
required
created_at
string<date-time>
required
metadata
Metadata · object