Create sandbox
Changed onCreate a sandbox. Returns the initial sandbox snapshot synchronously.
With snapshotId: 404 with code: snapshot_not_found if the snapshot does not exist; 409 with code: snapshot_not_available if it is not available, or code: snapshot_plan_mismatch if a runtime snapshot was requested with a different plan.
With snapshotName: 400 with code: invalid_snapshot_name if the name is malformed, 400 without a code if snapshotId is also set, and 404 with code: snapshot_not_found if no available snapshot in the group has the name. The 409 cases above apply to the resolved snapshot.
409 with code: sandbox_group_suspended if the sandbox group is suspended.
400 with code: sandbox_group_limit_reached if the owner has no default sandbox group and is already at its sandbox group limit.
400 with code: invalid_sandbox_plan if plan is not one the API currently accepts. The message lists the accepted plans.
400 with code: invalid_timeout_seconds if timeoutSeconds is below 0 or above the plan's maximum: 2592000 (30 days), or 86400 (24 hours) on Hobby workspaces.
Request
- Base URLhttps://api.render.com/v1
- AuthHTTP bearer
Request body
Response
Sandbox created. Returns the initial sandbox snapshot.
Changes
- info
endpoint added
- info