compute
Fork sandbox
Forks a sandbox into a new sandbox or application. When forking to a sandbox, the target must not already exist (409 if it does). When forking to an application, a new revision is added if the app already exists, or a new application is created. This is a WIP endpoint — the full implementation depends on the execution plane.
post/sandboxes/{sandboxName}/fork
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopessandboxes:create
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sandboxNamestring required
Name of the sandbox to fork
Request body
Example request
{
"port": 8080,
"targetName": "my-app",
"targetType": "application",
"traffic": 10
}Response
Fork created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.