Monitor agent
List jobs
The agent's jobs, newest first.
GET/v1/monitors/{monitor_id}/agent/jobs
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
kind- Only jobs of this kind:
compile(a plan),tick(a run),chatorshadow_delete. limit- How many jobs to return.
Response
200
jobs[]- The jobs, newest first, each as Get a job shows it.
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.