Packet Constructor tracked flow table
GET
/tasks/{id}/packet-constructor/flowsPaginated table of the tracked flows of a task with plugin 118: TX and RX are joined for each combination (stream, source port, flow number), loss, duplicates, reordered frames, and delay are calculated, and the values of the tracked fields are decoded from the template. The latest final snapshot (taken after the task stops) is used, otherwise the latest live one. Also returns a flow summary (total, with loss, silent) and the DUT delay from probes stamped by the port (probe: count, minimum, mean, p50, p99, p99.9, maximum) if the port sent them. The data comes from ClickHouse; if there is none yet, the lists are empty.
Contract
Parameter | Value |
|---|---|
| Section | tasks |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
8 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Task ID |
| stream | query | no | integer | Filter by stream number (0..511) |
| port | query | no | integer | Filter by source port number (0..255) |
| filter | query | no | enum(all, loss, dead) | Row filter |
| sort | query | no | enum(loss, lossPct, latMax, latAvg, rx, flow) | Sort field |
| order | query | no | enum(asc, desc) | Sort direction |
| limit | query | no | integer | Rows per page (1..1000) |
| offset | query | no | integer | Page offset |
"all""loss""asc"
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Page of tracked flows and the summary | object |
400 | Invalid parameters | object |
401 | Unauthorized | object |
404 | Task not found | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }