provider task-runstaskstasks GET
/api/projects/{project_id}/tasks/{task_id}/runs/{id}/logs/ @utdk/posthog
/api/projects/{project_id}/tasks/{task_id}/runs/{id}/logs/ Get task run logs
Fetch the logs for a task run as JSONL. If the run resumes from another (state.resume_from_run_id), each ancestor's log is concatenated first (oldest ancestor → ... → this run) so resume consumers see a single continuous history and can find the most recent git_checkpoint event regardless of which run emitted it.
- id path required
- 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
- task_id path required
- 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.tasksRunsLogsRetrieve()