Sandboxes

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/{id}/listening-ports

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

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

id*string

Sandbox ID (ULID)

Response Body

application/json

application/problem+json

curl -X GET "https://api-dev.tektona.ai/v1/sandboxes/string/listening-ports"
{  "$schema": "https://api-dev.tektona.ai/schemas/ListeningPortsResponse.json",  "ports": [    {      "port": 0,      "process": "string",      "protocol": "string"    }  ]}