Skip to main content
POST
Create a decision workspace

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
id
string
required

Lowercase slug: letters, digits and hyphens, starting with a letter or digit. No slashes — use folder for grouping.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$
name
string
required

Human-readable workspace name.

description
string | null

What this workspace's rules govern.

retain_inputs
boolean
default:false

Store full evaluation inputs in the audit stream. When false only a hash of each input is kept.

Response

Successful Response

id
string
required
name
string
required
created_by
string
required
created_at
string<date-time>
required
description
string | null
retain_inputs
boolean
default:false
archived_at
string<date-time> | null
your_roles
string[]

The calling user's roles in this workspace.