Get run event summary

Count run events by type and time bucket without event bodies or usage metrics.

Arguments

  • run_idstring · uuidrequired

    Run identifier that scopes the request.

  • bucketsinteger · min 1 · max 500 · default 60

    Provide the buckets.

  • event_classstring

    Provide the event class. One of fact, delta.

  • event_typearray of string

    Provide one or more event type values.

  • is_errorstring

    Provide the is error. One of true, false.

  • startstring · date-time

    Provide the start.

  • endstring · date-time

    Provide the end.

  • span_idstring · min length 1

    Provide the span id.

  • turn_idstring · min length 1

    Provide the turn id.

  • searchstring · min length 1 · max length 200

    Provide the search.

  • include_descendantsstring · default false

    Provide the include descendants. One of true, false.

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__get_run_events_summary",    "arguments": {      "run_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"run_id\":\"00000000-0000-0000-0000-000000000000\",\"total\":0,\"error_count\":0,\"first_event_id\":0,\"last_event_id\":0,\"first_event_at\":\"2026-01-01T00:00:00Z\",\"last_event_at\":\"2026-01-01T00:00:00Z\",\"by_event_class\":{\"fact\":0,\"delta\":0},\"by_event_type\":[{\"event_type\":\"string\",\"event_class\":\"fact\",\"count\":0,\"error_count\":0}],\"buckets\":[{\"start\":\"2026-01-01T00:00:00Z\",\"end\":\"2026-01-01T00:00:00Z\",\"count\":0,\"error_count\":0}]}"      }    ],    "structuredContent": {      "run_id": "00000000-0000-0000-0000-000000000000",      "total": 0,      "error_count": 0,      "first_event_id": 0,      "last_event_id": 0,      "first_event_at": "2026-01-01T00:00:00Z",      "last_event_at": "2026-01-01T00:00:00Z",      "by_event_class": {        "fact": 0,        "delta": 0      },      "by_event_type": [        {          "event_type": "string",          "event_class": "fact",          "count": 0,          "error_count": 0        }      ],      "buckets": [        {          "start": "2026-01-01T00:00:00Z",          "end": "2026-01-01T00:00:00Z",          "count": 0,          "error_count": 0        }      ]    }  }}

The tool ran; its output is result.structuredContent.