Documentation home pagelight logodark logo
  • Changelog
  • Blaxel Console
  • Blaxel Console
network
Start monitoring ports for a process
Documentation
Templates & Cookbooks
API Reference
Sandbox API Reference 🆕
SDK Reference
CLI Reference
  • Changelog
  • filesystem
    • GET
      Get file or directory information
    • PUT
      Create or update file or directory
    • DEL
      Delete file or directory
    • GET
      Stream file modification events in a directory
    • GET
      Stream file modification events in a directory via WebSocket
    network
    • POST
      Start monitoring ports for a process
    • DEL
      Stop monitoring ports for a process
    • GET
      Get open ports for a process
    process
    • GET
      List all processes
    • POST
      Execute a command
    • GET
      Get process by identifier
    • DEL
      Stop a process
    • DEL
      Kill a process
    • GET
      Get process logs
    • GET
      Stream process logs in real time
    • GET
      Stream process logs in real time via WebSocket
    network

    Start monitoring ports for a process

    Start monitoring for new ports opened by a process

    POST
    /
    network
    /
    process
    /
    {pid}
    /
    monitor
    {}

    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.

    Was this page helpful?

    Stream file modification events in a directory via WebSocketStop monitoring ports for a process
    Powered by Mintlify
    {}