Ports
GET
Returns every listening TCP port inside the sandbox, including the daemon's own listeners.
application/json- response
The TCP ports currently listening inside the sandbox.
ports*array<>Every listening TCP port, including the daemon's own listeners.
curl -X GET 'http://sandbox:2280/port'{ "ports": [ 0 ]}GET
Parses the path segment as a decimal TCP port, requires the upstream Daytona range 3000..=9999, then checks the live listener table and a loopback dial fallback.
port*stringTCP port number as a decimal string between 3000 and 9999.
application/json- response
Whether one TCP port is currently in use.
isInUse*booleantrue when the port is listening or accepts a loopback dial.
curl -X GET 'http://sandbox:2280/port/string/in-use'{ "isInUse": true}