compute
Create Sandbox Preview
Create a preview
post/sandboxes/{sandboxName}/previews
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.
Query parameters
forceboolean
Force creation by replacing conflicting previews that use the same custom domain prefix URL
Request body
Example request
{
"events": [
{
"message": "Deployment successful",
"revision": "rev-abc123",
"status": "DEPLOYED",
"time": "2025-01-15T10:30:00Z",
"type": "deployment"
}
]
}Response
successful operation
Example response
{
"events": [
{
"message": "Deployment successful",
"revision": "rev-abc123",
"status": "DEPLOYED",
"time": "2025-01-15T10:30:00Z",
"type": "deployment"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.