system
Upgrade the sandbox-api
Triggers an upgrade of the sandbox-api process. Returns 200 immediately before upgrading. The upgrade will: download the specified binary from GitHub releases, validate it, and restart. All running processes will be preserved across the upgrade. Available versions: "latest" (default, most recent release), "develop", "main", or specific tag like "v1.0.0" You can also specify a custom baseUrl for forks (defaults to https://github.com/blaxel-ai/sandbox/releases)
post/upgrade
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopesadmin
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"baseUrl": "https://github.com/blaxel-ai/sandbox/releases",
"version": "latest"
}Response
Upgrade initiated
Example response
{
"message": "File created successfully",
"path": "/path/to/file"
}Changes
No recorded changes to this operation across all 1 revision of this API.