provider task-runstaskstasks GET /api/projects/{project_id}/tasks/{task_id}/runs/{id}/session_logs/
@utdk/posthog /api/projects/{project_id}/tasks/{task_id}/runs/{id}/session_logs/
Get filtered task run session logs
Fetch session log entries for a task run with optional filtering by timestamp, event type, and limit.
after query
Only return events after this ISO8601 timestamp
string
event_types query
Comma-separated list of event types to include
string
exclude_types query
Comma-separated list of event types to exclude
string
id path required
string
limit query
Maximum number of entries to return (default 1000, max 5000)
integer
offset query
Zero-based offset into the filtered log entries
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
task_id path required
string

Try it

Authentication
Configure credentials for PostHog API
tasksRunsSessionLogsRetrieve
GET/api/projects/{project_id}/tasks/{task_id}/runs/{id}/session_logs/
Fetch session log entries for a task run with optional filtering by timestamp, event type, and limit.

Parameters

required
required

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

required

Only return events after this ISO8601 timestamp

Comma-separated list of event types to include

Comma-separated list of event types to exclude

Maximum number of entries to return (default 1000, max 5000)

Zero-based offset into the filtered log entries

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.tasksRunsSessionLogsRetrieve({
  "limit": 1000,
  "offset": 0
})