provider agent_platformagent_applications GET
/api/projects/{project_id}/agent_applications/{id}/sessions/ @utdk/posthog
/api/projects/{project_id}/agent_applications/{id}/sessions/ agent_applications_sessions_list
List sessions for this application, most recently active first. Strips the
conversation transcript from each summary, but includes a `preview`
(last assistant text, ~120 chars) and `usage_total` (token + cost
aggregate). Use `agent-applications-sessions-retrieve` for the full
transcript of a single session.
- created_after query
- ISO datetime — return sessions with created_at >= this.
- string
- created_before query
- ISO datetime — return sessions with created_at <= this.
- string
- id path required
- A UUID string identifying this agent application.
- string
- limit query
- integer
- offset query
- integer
- 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
- revision_id query
- Only return sessions started against this specific revision.
- string
- state query
- Filter by session state. Comma-separated list accepted (e.g. `completed,failed`). Valid values: queued, running, completed, closed, cancelled, failed.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.agentApplicationsSessionsList()