tool-settings
Set Sandbox Credential
Changed onStore the key this deployment's hosted sandbox provider leases sandboxes with.
Wins over the provider's environment variable (E2B_API_KEY), on this worker at once and on every other within 30 seconds, so a rotated key needs no redeploy. Refused for the protocol provider, which takes no key of its own. Operator-gated.
put/api/v1/tool-settings/sandbox/credential
Request
- The document declares no server URL.
- Auth
- API key in header Otari-Key
- or API key in header x-api-key
Request body
Example request
{
"api_key": "e2b_0123456789abcdef"
}Response
Successful Response
Changes
- info
endpoint added
- info