SandboxesAccess
Create SSH access token
Generate a short-lived token for SSH access to a sandbox.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
idOrName*string
Sandbox ID (ULID) or name
Query Parameters
org?string
Required when the path names the sandbox by name.
project?string
Required when the path names the sandbox by name.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/sandboxes/string/ssh-access"{ "sandbox_id": "string", "ssh_host": "string", "ssh_port": 0, "ssh_ports": [ 0 ], "token": "string", "url": "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"}Create mount SSH access token POST
Generate a short-lived token for the mount sync transport. Like ssh-access, but the connection is exempt from activity tracking so an idle mount does not prevent auto-pause.
Fork a sandbox POST
Create a point-in-time fork of a running sandbox. The source sandbox continues running.