Agent results
List events
What changed, newest first: new objects, status and value changes, alerts, panel updates and a summary of each run.
GET/v1/monitors/{monitor_id}/agent/events
Send your API key as Authorization: Bearer. See Authentication. How each option works: Monitors.
Path parameter
monitor_id- The ID of a monitor that has an agent.
Query parameters
since_tick- Only events from this tick on. A tick is one run of the agent.
kind- Only events of this kind.
limit- How many events to return.
To follow what changes, use List changes: it reads on from a cursor and never shows a change twice.
Response
200
events[]- The events, newest first: new objects, status and value changes, alerts, panel updates and a summary of each tick.
events[].tick- The tick of the event.
events[].kind- What kind of event it is.
events[].identity_key- The object it is about, or
null. See Get an object. events[].payload- The details of the event.
Errors
| Status | Code | When |
|---|---|---|
401 | unauthorized | The API key is missing or not valid. |
403 | forbidden | The API key cannot read monitors (a GET) or change them (the other methods). |
404 | not_found | The monitor is not in your key's project, or it has no agent. |
422 | invalid_request | A parameter or the body is not valid. error.param names it. |
429 | rate_limited | Your key or account sent too many requests. Wait for the seconds in Retry-After, then try again. |
What each error means and what to do: Errors.