list_device_input_history
The batches this collector sent, newest first — filtered and paginated on the server. Every batch the input central received for this channel, as it arrived: when, the protocol, the result (stored; rejected by the receiver, with the reason; or discarded while the channel was paused, when its data is not kept), the answer given to the collector, the size, and how many series and samples it carried. The central keeps the newest batches of each channel up to the limits in limits (count, bytes and days); older ones leave as new ones arrive, and removing the channel deletes them. q searches metric names — host and service names for NCPA — by opening the batches newest first within a time budget: search.complete says whether all candidates were read, and repeating the call continues faster. Open one batch with GET /api/ambientes/:id/inputs/:collector/history/:batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Metric name (or NCPA host/service) contains this text; up to 120 characters. | |
| id | Yes | Device environment UUID v4; the report URL is a one-hour write capability. | |
| page | No | Page, from 1 (newest). Beyond the last page answers the last one. | |
| size | No | Batches per page: 10, 25, 50 or 100. | |
| since | No | Only batches received at or after this instant (ISO 8601). | |
| until | No | Only batches received at or before this instant (ISO 8601). | |
| outcome | No | Only batches with this result. | |
| collector | Yes | alloy, telegraf, opentelemetry, ncpa, collectd or snmp. |