Gatana logoGatana Docs
RoutesSandboxesSandboxidSsh session

/sandboxes/{sandboxId}/ssh-session

Issue a short-lived token that opens an SSH session to the sandbox through the SSH proxy. The token expires after 5 minutes

POST
/sandboxes/{sandboxId}/ssh-session
AuthorizationBearer <token>

In: header

Path Parameters

sandboxId*string

Response Body

application/json

curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/sandboxes/string/ssh-session"
{
  "token": "string",
  "expiresIn": 0,
  "host": "string",
  "port": 0
}