Skip to content

Get Agent Data

Request

Pull time series for one agent using your exact InfluxDB reader (JWT required). Works only with the agent's ap_id. Returns the key from Influx as 'key'.

Security
OAuth2PasswordBearer
Query
agentstring(Agent)required

Agent ap_id (exact value used in Influx measurement 'agent/<ap_id>/data')

windowstring or integer(Window)
Any of:

Window size, for example 1, 5, 10 (minutes) or '1h'

string
GET
/api/v1/metrics/agent_data
curl -i -X GET \
  'https://matric-docs.redocly.app/_mock/openapi/api/v1/metrics/agent_data?agent=string&window=5'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response example