cURL
curl --request GET \ --url https://run.blaxel.ai/{workspace_id}/sandboxes/{sandbox_id}/network/process/{pid}/ports \ --header 'Authorization: Bearer <token>'
{}
Get a list of all open ports for a process
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Process ID
Object containing PID and array of network.PortInfo
The response is of type object.
object
Was this page helpful?