POST
/
network
/
process
/
{pid}
/
monitor
curl --request POST \
  --url https://run.blaxel.ai/{workspace_id}/sandboxes/{sandbox_id}/network/process/{pid}/monitor \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "callback": "http://localhost:3000/callback"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pid
integer
required

Process ID

Body

application/json

Port monitor configuration

The body is of type object.

Response

200
application/json

Object containing PID and success message

The response is of type object.