external_data_sources

Create, Read, Update and Delete External data Sources.

get/api/projects/{project_id}/external_data_sources/{id}/jobs/

Request

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

Path parameters

idstring uuid required

A UUID string identifying this external data source.

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/.

Query parameters

afterstring

ISO timestamp — only return jobs created after this date.

beforestring

ISO timestamp — only return jobs created before this date.

schemasstring[]

Filter jobs by table schema names.

searchstring

A search term.

Response

idstring uuid required
created_atstring date-time required
created_byinteger nullable required
finished_atstring date-time nullable required
statusstring required
rows_syncedinteger nullable required
latest_errorstring nullable required

The latest error that occurred during this run.

workflow_run_idstring nullable required
cdc_write_modestring nullable required

For CDC syncs with cdc_table_mode='both', distinguishes the two ExternalDataJob rows produced per sync: incremental_merge (consolidated table) vs scd2_append (cdc-only history table). null for non-CDC syncs. Read from schema_snapshot.

billableboolean nullable required

Whether the rows synced by this job count toward billing. false for system-initiated runs the customer isn't charged for (e.g. rebuilding a table after an internal issue). null on legacy rows and means billable.

destination_idsstring[] required

Destinations this run delivered to, snapshotted when it started. Empty on runs that predate destinations, which wrote to the PostHog warehouse alone. rows_synced counts the rows read from the source once, not once per destination.

Changes

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