provider agent_platformagent_applications GET
/api/projects/{project_id}/agent_applications/{id}/sessions/{session_id}/logs/ @utdk/posthog
/api/projects/{project_id}/agent_applications/{id}/sessions/{session_id}/logs/ agent_applications_session_logs
Read the runner's structured event log for one session from
ClickHouse. Filters (limit / after / before / level / search)
match the shared `LogEntryMixin` helper used by hog_function +
hog_flow.
- after query
- Only return entries after this ISO 8601 timestamp.
- string
- before query
- Only return entries before this ISO 8601 timestamp.
- string
- id path required
- A UUID string identifying this agent application.
- string
- instance_id query
- Filter logs to a specific execution instance.
- string
- level query
- Comma-separated log levels to include, e.g. 'WARN,ERROR'. Valid levels: DEBUG, LOG, INFO, WARN, ERROR.
- string
- limit query
- Maximum number of log entries to return (1-500, default 50).
- 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
- search query
- Case-insensitive substring search across log messages.
- string
- session_id path required
- UUID of the session whose logs to fetch.
- 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.agentApplicationsSessionLogs({
"limit": 50
})