Skip to main content
GET
/
agents
/
{agentId}
/
runs
/
stats
Error
A valid request URL is required to generate request examples
{
  "stats": {
    "total_runs": 123,
    "completed": 123,
    "failed": 123,
    "total_tokens": 123,
    "total_cost": 123,
    "success_rate": 123
  }
}

Authorizations

Authorization
string
header
required

Enter token in format (Bearer )

Path Parameters

agentId
string<uuid>
required

Agent ID

Query Parameters

days
integer
default:30

Number of days to analyze

Response

200 - application/json

Statistics retrieved successfully

stats
object