provider engineering_analyticsengineering_analytics GET
/api/projects/{project_id}/engineering_analytics/workflow_jobs/ @utdk/posthog
/api/projects/{project_id}/engineering_analytics/workflow_jobs/ engineering_analytics_workflow_jobs
Jobs of a single workflow run attempt, with per-job duration, runner tier, and estimated cost. Scoped to one run_attempt (the latest unless specified) so a re-run's attempts don't merge. Returns an empty list when the job-level source isn't synced yet.
- 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
- run_attempt query
- Which re-run attempt to scope jobs to. Omit to use the run's latest attempt; pass an explicit attempt to avoid mixing jobs across a re-run's attempts.
- integer
- run_id query required
- Workflow run id to list jobs for.
- integer
- source_id query
- Connected GitHub data warehouse source to read from. Defaults to the oldest connected GitHub source when the team has more than one.
- 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.engineeringAnalyticsWorkflowJobs()