Skip to content

Switch features on or off (owners)

PATCH
/org/features
curl --request PATCH \
--url https://api.global.stillbox.example/v1/org/features \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "secrets_inside": true, "public_previews": true, "unattended": true, "token_saver": true, "open_links": true, "open_link_hosts": [ "example" ], "agent_race": true, "race_max": 1 }'
Media typeapplication/json
object
secrets_inside
boolean
public_previews
boolean
unattended
boolean
token_saver
boolean
open_links
boolean
open_link_hosts
Array<string>
<= 20 items
agent_race
boolean
race_max
integer
>= 2 <= 10

Example generated

{
"secrets_inside": true,
"public_previews": true,
"unattended": true,
"token_saver": true,
"open_links": true,
"open_link_hosts": [
"example"
],
"agent_race": true,
"race_max": 1
}

The new switches

Media typeapplication/json
object
public_previews
required

Members may open a sandbox’s preview to anyone on the internet, without signing in. Off, previews are only for members signed in.

boolean
public_previews_locked
required

This region’s operator doesn’t allow public previews at all.

boolean
secrets_inside
required

Environments may put a secret’s real value inside sandboxes (mode inside), for what the credential broker can’t swap, such as database passwords. Off, sandboxes only ever see placeholders.

boolean
unattended
required

Agents act without stopping to ask. Off, each agent runs in its own cautious mode.

boolean
token_saver
required

Command output and logs are compressed before they reach the model.

boolean
open_links
required

Members may open sandboxes from “Open in Stillbox” links.

boolean
open_link_hosts
required

Code hosts those links may open repositories from.

Array<string>
agent_race
required

One task may be given to several agents, each in a copy of the same sandbox.

boolean
race_max
required

How many agents a race may have.

integer
>= 2 <= 10
updated_at
string format: date-time
updated_by

Who last changed the switches.

string

Example generated

{
"public_previews": true,
"public_previews_locked": true,
"secrets_inside": true,
"unattended": true,
"token_saver": true,
"open_links": true,
"open_link_hosts": [
"example"
],
"agent_race": true,
"race_max": 1,
"updated_at": "2026-04-15T12:00:00Z",
"updated_by": "example"
}

The request is invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}