UtilitiesPCAPs

getSiteFlowCaptureStatus

GET
/api/v1/sites/{site_id}/flow_capture

Get the current flow capture session status for the site. Returns an empty object when no session is active.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

site_id*string
Formatuuid

Response Body

curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/flow_capture"
{  "capture_filter": {    "dst_ip": "string",    "dst_port": 0,    "protocol": "tcp",    "src_ip": "string",    "src_port": 0  },  "duration": 0,  "enabled": true,  "expiry": 0,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "invalid_switches": {},  "org_id": "a97c1b22-a4e9-411e-9bfd-d8695a0f9e61",  "site_id": "441a1214-6928-442a-8e92-e1d34b8ec6a6",  "switch_count": 0,  "timestamp": 0}