data_modeling_jobs

List data modeling jobs which are "runs" for our saved queries.

get/api/projects/{project_id}/data_modeling_jobs/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/data_modeling_jobs/{id}/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this data modeling job.

project_idstring required

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

Response

idstring uuid required
saved_query_idstring uuid nullable required
status'Cancelled' | 'Completed' | 'Failed' | 'Running' | 'Skipped' required
  • Cancelled - Cancelled
  • Completed - Completed
  • Failed - Failed
  • Running - Running
  • Skipped - Skipped
full_refresh_reasonstring nullable required

Why this run rebuilt the whole table instead of updating only new rows, for example first run, definition changed, or table missing. Null when the run was incremental.

rows_materializedinteger required
errorstring nullable required
created_atstring date-time required
last_run_atstring date-time required
updated_atstring date-time required

When the job row last changed. For finished jobs this is when the run reached its terminal status.

workflow_idstring nullable required
workflow_run_idstring nullable required
rows_expectedinteger nullable required

Total rows expected to be materialized

Changes

No recorded changes to this operation across all 1 revision of this API.