Skip to content
GET/api/agents/statsbearer token

Read 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

NameTypeDescription
idrequiredstringThe agent ID.

Response

NameTypeDescription
statsrequiredobjectmessages, calls, errors, avg response time.

Rate limit

By account

Errors

  • 401Missing or invalid token.
  • 404Not yours, or no such agent.

Other endpoints

Get a key in one click

Account endpoints take a revocable API key. It carries no admin access and can be revoked instantly.

Create an API key

Agents

More

👤
Profile
FAQ