GET
/api/agents/statsbearer tokenRead usage analytics
What the agent has actually been doing β the numbers behind the admin overview, so you can put them on your own dashboard.
Try it
curl "https://storkie.ai/api/agents/stats?id=YOUR_AGENT_ID" -H "Authorization: Bearer YOUR_TOKEN"No Run button: this needs your bearer token, and a docs page that asks for one is teaching people to paste credentials into web forms.
Query parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | The agent ID. |
Response
| Name | Type | Description |
|---|---|---|
statsrequired | object | messages, calls, errors, avg response time. |
Rate limit
By account
Errors
401β Missing or invalid token.404β Not yours, or no such agent.