Skip to main content
GET
/
v1
/
bot
/
stats
/
errors
Get Error Analysis
curl --request GET \
  --url https://api.boostgpt.co/v1/bot/stats/errors \
  --header 'Authorization: Bearer <token>'
{
  "total_errors": 123,
  "error_rate": 123,
  "errors_by_type": [
    {
      "error_type": "<string>",
      "count": 123,
      "percentage": 123
    }
  ],
  "recent_errors": "<array>"
}

Authorizations

Authorization
string
header
required

Enter your API key

Query Parameters

project_id
string
required

Project ID

bot_id
string
required

Agent ID

Response

200 - application/json

Error analysis retrieved successfully

total_errors
integer

Total error count

error_rate
number

Error rate percentage

errors_by_type
object[]

Errors categorized by type

recent_errors
array

Recent error occurrences