Skip to main content
POST

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
name
string
required

Environment name (alphanumeric, hyphens, and underscores only)

Pattern: ^[a-zA-Z0-9_-]+$
Example:

"document-review-prod"

Response

Environment created successfully

id
string

Unique environment identifier

name
string

Environment name

slug
string

URL-friendly slug derived from name

domain
string

Unique domain for this environment

isDefault
boolean

Whether this is the default environment

status
enum<string>

Environment status

Available options:
active,
inactive
createdAt
string<date-time>

Environment creation timestamp