v106

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-02160524464.6 KB
Human-in-the-Loop

Sandbox Access Command

Creates a command for connecting to the run's sandbox environment. Daytona runs return a time-limited SSH command; Docker runs return a local docker exec command.

post/api/v1/runs/{id}/ssh

Path parameters

idstring required

Unique run identifier (ULID).

Request body

ttl_minutesnumber required

Time-to-live for time-limited access commands in minutes. Ignored by providers whose commands are not time-limited.

Example request

{
  "ttl_minutes": 60
}

Response

Sandbox access command created

commandstring required

Command to connect to the sandbox.

Example response

{
  "command": "docker exec -it fabro-run-01HY0000000000000000000000 sh -lc 'cd /workspace/fabro && exec sh -l'"
}