Matomo Crash Analytics API
Exposes Crash Analytics endpoints for managing tracked crashes and querying crash reports. Includes summary, drill-down, historical, and realtime reporting APIs for a single site.
Operations 31
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/index.php?module=API&method=CrashAnalytics.mergeCrashes
Merge several crashes into one group · Crash analytics merge crashes
#
Ask an LLM
“Can I tell Matomo that several different crash entries are really the same bug?”
“How do I combine duplicate crashes so reports count them together?”
Tell an agent
Merge crashes {idLogCrashes} on site {idSite} into one crash group.
Group these crash IDs together as the same crash: {idLogCrashes} for site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.unmergeCrashGroup
Split a merged crash group apart · Crash analytics unmerge crash group
#
Ask an LLM
“How do I undo a crash merge I made by mistake?”
“Can a merged crash group be separated back into individual crashes?”
Tell an agent
Unmerge the crash group containing crash {idLogCrash} on site {idSite}.
Split merged crash group {idLogCrash} back into separate crashes for site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashGroups
List merged crash groups for a site · Crash analytics get crash groups
#
Ask an LLM
“Which crashes have I already merged together on this site?”
“What merged crash groups exist for my app?”
Tell an agent
List every merged crash group on site {idSite}.
Show me which crashes are grouped together for site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashTypes
List the distinct crash types tracked · Crash analytics get crash types
#
Ask an LLM
“What kinds of crash types have been recorded for my site?”
“Which unique error types has crash tracking picked up?”
Tell an agent
List the unique crash types tracked on site {idSite}.
Show the first {filter_limit} distinct crash types for site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.setIgnoreCrash
Ignore or stop ignoring a crash · Crash analytics set ignore crash
#
Ask an LLM
“Can I stop a noisy crash from being tracked anymore?”
“How do I start tracking a crash again after I ignored it?”
Tell an agent
Ignore crash {idLogCrash} on site {idSite} so it is no longer tracked.
Set ignore to {ignore} for crash {idLogCrash} on site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.getIgnoredCrashes
List crashes currently being ignored · Crash analytics get ignored crashes
#
Ask an LLM
“Which crashes have been muted from tracking on my site?”
“What crashes am I currently ignoring?”
Tell an agent
List the ignored crashes for site {idSite}.
Show which crashes are set to be ignored on site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashSummary
Get details for a single crash · Crash analytics get crash summary
#
Ask an LLM
“What is the error message and source file behind a specific crash?”
“Can I see the stack trace and origin for one crash ID?”
Tell an agent
Show the summary for crash {idLogCrash} on site {idSite}.
Get the message and originating source of crash {idLogCrash} for site {idSite}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashVisitContext
See the visits that hit a crash · Crash analytics get crash visit context
#
Ask an LLM
“What were users doing right before they hit a particular crash?”
“Which recent visits ran into this crash, and what actions led up to it?”
Tell an agent
Show the visit context for crash {idLogCrash} on site {idSite} for {period} {date}.
List recent visits that hit crash {idLogCrash} on site {idSite} in {period} {date}, with their preceding actions.
GET
/index.php?module=API&method=CrashAnalytics.getAllCrashes
List every crash tracked for a site · Crash analytics get all crashes
#
Ask an LLM
“How can I get a full list of all crashes ever tracked on my site?”
“Can I page through the complete crash list sorted by a column?”
Tell an agent
List all tracked crashes for site {idSite}.
Fetch every crash on site {idSite} sorted by {filter_sort_column}, {filter_limit} at a time.
GET
/index.php?module=API&method=CrashAnalytics.get
Get the crash overview metrics · Crash analytics get
#
Ask an LLM
“How many crashes did my site have this week and how many were new?”
“What are the headline crash metrics for a given period?”
Tell an agent
Give me the archived crash report summary for site {idSite} for {period} {date}.
Get total, new and disappeared crash counts for site {idSite} in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getAllCrashMessages
Report all crash messages and sources · Crash analytics get all crash messages
#
Ask an LLM
“Which crash messages and source combinations occurred, including ones with no source?”
“Can I search crash messages by a text pattern?”
Tell an agent
Report every crash message and source combination for site {idSite} for {period} {date}.
List all crash messages on site {idSite} in {period} {date} matching {filter_pattern}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashMessages
Report crash messages with known sources · Crash analytics get crash messages
#
Ask an LLM
“Which crash messages have an identified originating source file?”
“What errors came from known source files, leaving out unsourced ones?”
Tell an agent
Show crash messages with an identified source for site {idSite} for {period} {date}.
List sourced crash messages on site {idSite} in {period} {date} that match {filter_pattern}.
GET
/index.php?module=API&method=CrashAnalytics.getUnidentifiedCrashMessages
Report crash messages with no source · Crash analytics get unidentified crash messages
#
Ask an LLM
“Which crashes have no originating source file at all?”
“Can I see the error messages that could not be traced to a source?”
Tell an agent
Show unsourced crash messages for site {idSite} for {period} {date}.
List crash messages with unknown origin on site {idSite} in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getDisappearedCrashes
Report crashes that stopped occurring · Crash analytics get disappeared crashes
#
Ask an LLM
“Which crashes stopped happening in this period?”
“Did any bugs disappear after my last release?”
Tell an agent
Show disappeared crashes for site {idSite} for {period} {date}.
List crashes on site {idSite} that no longer occurred in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getReappearedCrashes
Report crashes that came back · Crash analytics get reappeared crashes
#
Ask an LLM
“Which previously gone crashes have started happening again?”
“Did any old bugs regress and reappear this month?”
Tell an agent
Show reappeared crashes for site {idSite} for {period} {date}.
List crashes that returned on site {idSite} during {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getNewCrashes
Report crashes seen for the first time · Crash analytics get new crashes
#
Ask an LLM
“What brand-new crashes showed up in this period?”
“Which errors appeared for the very first time after a deploy?”
Tell an agent
Show new crashes for site {idSite} for {period} {date}.
List first-time crashes on site {idSite} during {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesByPageUrl
Report crashes grouped by page URL · Crash analytics get crashes by page url
#
Ask an LLM
“Which page URLs on my site trigger the most crashes?”
“Can I see crash counts broken down by URL as a flat list?”
Tell an agent
Show crashes by page URL for site {idSite} for {period} {date}.
Break down crashes per page URL on site {idSite} in {period} {date}, flattened.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesForPageUrl
Drill into crashes for one page URL row · Crash analytics get crashes for page url
#
Ask an LLM
“What crashes happened on one specific URL row in the page URL report?”
“How do I expand a page URL entry to see its individual crashes?”
Tell an agent
Show crashes under page URL subtable {idSubtable} for site {idSite} for {period} {date}.
Expand page URL row {idSubtable} on site {idSite} in {period} {date} to list its crashes.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesByPageTitle
Report crashes grouped by page title · Crash analytics get crashes by page title
#
Ask an LLM
“Which page titles are associated with the most crashes?”
“Can I break crashes down by the title of the page users were on?”
Tell an agent
Show crashes by page title for site {idSite} for {period} {date}.
Group crashes on site {idSite} by page title for {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesForPageTitle
Drill into crashes for one page title row · Crash analytics get crashes for page title
#
Ask an LLM
“How do I see the individual crashes behind a single page title entry?”
“What errors are listed under one row of the crashes-by-title report?”
Tell an agent
Show crashes under page title subtable {idSubtable} for site {idSite} for {period} {date}.
Expand page title row {idSubtable} on site {idSite} in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesBySource
Report crashes grouped by source file · Crash analytics get crashes by source
#
Ask an LLM
“Which source files are producing the most crashes?”
“Can I rank my JavaScript files by how many crashes originate in them?”
Tell an agent
Show crashes by originating source file for site {idSite} for {period} {date}.
Break down crashes per source file on site {idSite} in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesForSource
Drill into crashes for one source file row · Crash analytics get crashes for source
#
Ask an LLM
“What specific crashes came from a single source file in the report?”
“How do I expand a source file entry to list its crashes?”
Tell an agent
Show crashes under source file subtable {idSubtable} for site {idSite} for {period} {date}.
Expand source file row {idSubtable} on site {idSite} in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesByCategory
Report crashes grouped by category · Crash analytics get crashes by category
#
Ask an LLM
“How are my crashes distributed across crash categories?”
“Which crash category is most common on my site?”
Tell an agent
Show crashes by category for site {idSite} for {period} {date}.
Group crashes on site {idSite} by crash category for {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesForCategory
Drill into crashes for one category row · Crash analytics get crashes for category
#
Ask an LLM
“Which individual crashes fall under one crash category?”
“How do I expand a category in the crash report to see its entries?”
Tell an agent
Show crashes under category subtable {idSubtable} for site {idSite} for {period} {date}.
Expand crash category row {idSubtable} on site {idSite} in {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesByFirstParty
Report crashes from first-party code · Crash analytics get crashes by first party
#
Ask an LLM
“How many crashes come from my own code rather than external scripts?”
“Which of my own source files are crashing?”
Tell an agent
Show crashes from first-party source files for site {idSite} for {period} {date}.
List crashes originating in our own code on site {idSite} for {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getCrashesByThirdParty
Report crashes from third-party scripts · Crash analytics get crashes by third party
#
Ask an LLM
“Are external third-party scripts causing crashes on my site?”
“Which third-party source files throw errors for my visitors?”
Tell an agent
Show crashes from third-party source files for site {idSite} for {period} {date}.
List crashes caused by external scripts on site {idSite} for {period} {date}.
GET
/index.php?module=API&method=CrashAnalytics.getLastCrashesOverview
Get a realtime crash overview · Crash analytics get last crashes overview
#
Ask an LLM
“How many crashes happened in the last 30 minutes?”
“Is there a crash spike right now on my site?”
Tell an agent
Show the realtime crash overview for site {idSite}.
Summarize crashes on site {idSite} over the last {lastMinutes} minutes.
GET
/index.php?module=API&method=CrashAnalytics.getLastTopCrashes
Get the top crashes in realtime · Crash analytics get last top crashes
#
Ask an LLM
“Which crashes are happening most often right now?”
“What are the top errors in the last few minutes?”
Tell an agent
Show the top realtime crashes for site {idSite}.
List the {filter_limit} most frequent crashes on site {idSite} in the last {lastMinutes} minutes.
GET
/index.php?module=API&method=CrashAnalytics.getLastNewCrashes
Get newly seen crashes in realtime · Crash analytics get last new crashes
#
Ask an LLM
“Did any brand-new crash just start occurring in the last few minutes?”
“Which never-before-seen errors appeared just now after my deploy?”
Tell an agent
Show realtime new crashes for site {idSite}.
List crashes first seen on site {idSite} in the last {lastMinutes} minutes.
GET
/index.php?module=API&method=CrashAnalytics.getLastReappearedCrashes
Get reappeared crashes in realtime · Crash analytics get last reappeared crashes
#
Ask an LLM
“Has an old crash just come back in the last few minutes?”
“Which regressed errors reappeared just now?”
Tell an agent
Show realtime reappeared crashes for site {idSite}.
List crashes that resurfaced on site {idSite} in the last {lastMinutes} minutes.
GET
/index.php?module=API&method=CrashAnalytics.getLastDisappearedCrashes
Get disappeared crashes in realtime · Crash analytics get last disappeared crashes
#
Ask an LLM
“Which crashes have gone quiet in the last few minutes?”
“Did my hotfix make a crash stop happening just now?”
Tell an agent
Show realtime disappeared crashes for site {idSite}.
List crashes that stopped on site {idSite} within the last {lastMinutes} minutes.
Documentation
📖
Documentation
https://developer.matomo.org/api-reference/reporting-api
📖
Documentation
https://developer.matomo.org/api-reference/reporting-api#Live
📖
Documentation
https://developer.matomo.org/api-reference/reporting-api#Goals
📖
Documentation
https://developer.matomo.org/api-reference/reporting-api-segmentation