one-shot debug summary
const url = 'https://app.everruns.com/api/v1/sessions/example/events/summary';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.everruns.com/api/v1/sessions/example/events/summaryParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Session ID (prefixed, e.g., sess_…)
Responses
Section titled “ Responses ”Per-type counts and time span for the session
Aggregate result of the events summary query — total count, per-type breakdown, and a few convenience rollups (turn count, failure count).
object
Per-type count, sorted by event_type asc.
One row of EventsSummaryResult.by_type — the per-event-type count
produced by the events summary query.
object
Count of items matching the query.
Event-type discriminator (e.g. turn.started, tool.completed).
Convenience: count of failure-shaped event types
(turn.failed, tool.failed, *.error, subagent.failed).
Earliest event timestamp, if any.
Latest event timestamp, if any.
Total event count across all types.
Convenience: count of turn.started events.
Example generated
{ "by_type": [ { "count": 1, "event_type": "example" } ], "error_count": 1, "first_ts": "2026-04-15T12:00:00Z", "last_ts": "2026-04-15T12:00:00Z", "total": 1, "turn_count": 1}Invalid session ID
Session not found
Internal server error