Skip to main content
GET
Get agent analytics

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Query Parameters

range
enum<string>

Predefined date range

Available options:
24h,
7d,
30d,
custom
from
string

Start date (ISO 8601)

to
string

End date (ISO 8601)

Response

Agent analytics

{key}
any