SandboxesNetworking

List a sandbox's listening ports

Scan the running sandbox for TCP sockets in the LISTEN state and return them with their owning process names.

GET
/v1/sandboxes/{idOrName}/listening-ports
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 GET "https://example.com/v1/sandboxes/string/listening-ports"
{  "ports": [    {      "port": 0,      "process": "string",      "protocol": "string"    }  ]}