Skip to main content
GET
/
api
/
analytics
/
failure-breakdown
Get failure breakdown by category
curl --request GET \
  --url https://api.getgranite.ai/api/analytics/failure-breakdown
{
  "data": [
    {
      "category": "<string>",
      "count": 123,
      "sample_messages": [
        "<string>"
      ]
    }
  ],
  "total_failures": 0
}

Query Parameters

start_date
string | null
end_date
string | null
workflow_name
string | null
limit
integer
default:10
Required range: 1 <= x <= 50

Response

Successful Response

Response for failure breakdown.

data
FailureCategoryItem · object[]
required
total_failures
integer
default:0