List runs
list_runsA Monitor's recent runs, newest first: each time one location checked one Check, with its outcome, status code, what went wrong and its timings. Narrow them by location, by checkType, and to failed runs only with failuresOnly: "true". One failed run is not an outage: an Incident opens only when a failure is confirmed from more than one location.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"monitorId": "<monitorId>"
},
"name": "list_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to answer: 20 unless asked, 50 at most. | |
| cursor | No | The `next` of the answer before. Left out, the first page. | |
| location | No | Only runs from this location. | |
| checkType | No | Only runs of this Check. | |
| monitorId | Yes | The Monitor's identifier, `mon_…`. `list_monitors` finds one by name. | |
| projectId | Yes | The Project's identifier, `prj_…`. `list_projects` lists them. | |
| failuresOnly | No | `true` for failed runs only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| next | Yes | Pass it as `cursor` for the next page. Null on the last page. |