List alerts

List project alerts. Requires project.logs.read.

Arguments

  • cursorstring

    Opaque cursor pointing at the next page. Omit it to read the first page.

  • limitnumber · min 1 · max 100 · default 20

    Maximum number of entries to return. Defaults to 20 and is capped at 100.

  • statusarray of string

    Only alerts in one of these statuses. Omit for firing and resolved alerts. One of firing, resolved.

  • sort_orderstring · default desc

    desc lists the newest alert first. One of asc, desc.

  • project_referencestring

    Project ID or slug

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__list_project_alerts",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"id\":\"string\",\"rule_id\":\"string\",\"title\":\"string\",\"status\":\"firing\",\"error_code\":\"string\",\"run_kind\":\"string\",\"run_status\":\"string\",\"started_at\":\"string\",\"resolved_at\":\"string\",\"_links\":{\"logs\":{\"href\":\"string\"},\"traces\":{\"href\":\"string\"}}}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}"      }    ],    "structuredContent": {      "data": [        {          "id": "string",          "rule_id": "string",          "title": "string",          "status": "firing",          "error_code": "string",          "run_kind": "string",          "run_status": "string",          "started_at": "string",          "resolved_at": "string",          "_links": {            "logs": {              "href": "string"            },            "traces": {              "href": "string"            }          }        }      ],      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": "string"      }    }  }}

The tool ran; its output is result.structuredContent.