Skip to main content
POST
Set the org's ceilings and policy defaults (AS19)

Body

application/json
ceilings
object

0.001 ..= 1e9 credits, or null to clear. Keys: per_run_credits, per_day_credits (the agents'), app_day_credits and app: (the apps', per UTC day).

defaults
object

Effect (read, compute, costly, write, external) → policy, or null to clear.

expected_version
integer

409 CONTROL_STALE when the controls moved since.

lock
boolean

Response

The org's controls

agent
object

With ?agent= (or on a pause): that agent's pause and effective policy.

billing
enum<string>
Available options:
off,
record,
enforce
can_edit
boolean

The caller is an admin of the org.

ceilings
object
defaults
object

The org's policy per effect for agents that leave it out.

effects
object[]
lock
boolean

The defaults are a floor: an agent may be stricter, never looser.

org
string
paused
object[]
stopped
object | null

Who threw the switch, when, and why (null: not thrown).

today
object
updated_at_unix_ms
integer
updated_by
string
version
integer