Roll up recent runs of an agent

Aggregates the agent’s most recent runs into per-version and per-tool counts, average tokens and cost, and the attached tools that were never called in the window. Backs the run-detail advice strip; the counts are evidence about a version, not billing figures.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Query parameters

limitstringOptional

How many recent runs to roll up (default 50, max 200)

Response

Run insights for the agent
dataobject
successboolean

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error