provider agent_platformagent_applications GET /api/projects/{project_id}/agent_applications/{id}/stats/
@utdk/posthog /api/projects/{project_id}/agent_applications/{id}/stats/
agent_applications_stats
Roll-up stats for the agent — drives the agent-detail overview tiles.
id path required
A UUID string identifying this agent application.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
since query
ISO datetime — counts spend + session totals from this point forward. Defaults to 24h ago.
string

Try it

Authentication
Configure credentials for PostHog API
agentApplicationsStats
GET/api/projects/{project_id}/agent_applications/{id}/stats/
Roll-up stats for the agent — drives the agent-detail overview tiles.

Parameters

required

A UUID string identifying this agent application.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

ISO datetime — counts spend + session totals from this point forward. Defaults to 24h ago.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.agentApplicationsStats()