Admin
Set a sandbox's model credit
Changed onSets the spending cap, in US dollars, on the sandbox's own OpenRouter key (the total, not an increment). 400 when the sandbox uses the deployment's shared key. Platform administrators only.
post/v1/admin/sandbox-orgs/{sandboxId}/credit
Request
- Base URLhttps://api.openworklabs.com
- URLhttps://api.openworklabs.com/v1/admin/sandbox-orgs/{sandboxId}/credit
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
sandboxIdstring required
Request body
Response
Updated sandbox.
Changes
- info
endpoint added
- info