Change where models may run, or the monthly cap per person
const url = 'https://api.global.stillbox.example/v1/models';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"policy":"any","cap_usd_per_person":1,"managed":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.global.stillbox.example/v1/models \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "policy": "any", "cap_usd_per_person": 1, "managed": true }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
default returns to the region’s default.
Allow Stillbox’s own model keys, charged to credits at cost.
Responses
Section titled “Responses”The new settings
object
Whether agents may use models that run outside this region. Sovereign regions default to in_region.
The policy is the region’s default, not one the organization chose.
The region’s operator keeps every organization’s model calls in the region; the policy can’t be widened, and own endpoints run only at addresses the operator approved.
The most each person’s model calls may cost a month, estimated from list prices; 0 means no cap.
The region can keep company keys (it has a secrets key).
The date of the price list costs are estimated from.
object
Anthropic’s or OpenAI’s API, or an OpenAI-compatible endpoint of your own.
The key’s last four characters.
For an own endpoint, its address.
Where calls are processed, as a region code (us, eu, uae, in, …). Outside the global region, an own
endpoint’s location is the one the region’s operator approved for its address, or unverified.
Calls to it are processed outside this region.
The organization’s policy keeps agents from using it.
Sandboxes may use Stillbox’s own model keys for providers the organization has no key for, charged to credits at cost.
The providers Stillbox offers keys for in this region, where they process calls, and whether the policy allows them.
object
Example
{ "policy": "any", "providers": [ { "provider": "anthropic" } ]}The request is invalid
object
Example
{ "code": "not_found"}The API key is missing or invalid
object
Example
{ "code": "not_found"}Only an owner can do this (owner_only), or the invitation is for another address (not_invited)
object
Example
{ "code": "not_found"}