SandboxesSandbox access
Fork a sandbox
Create a point-in-time fork of a running sandbox. The source sandbox continues running.
Create a point-in-time fork of a running sandbox. The source sandbox continues running.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
id*string
Sandbox ID (ULID)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
mode?string
Fork mode: 'filesystem' (disk only) or 'full' (memory + disk).
Default
"filesystem"Value in
- "filesystem"
- "full"
tags?array<string>
Tags for the fork. Omit to inherit, or provide an empty array for no tags.
Items
items <= 20Response Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/sandboxes/string/fork" \ -H "Content-Type: application/json" \ -d '{}'{ "cache_key": "string", "id": "string", "image_ref": "string", "state": "string", "tags": [ "string" ]}{ "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}