data_warehouse

Returns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.

get/api/projects/{project_id}/data_warehouse/running_activity/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/data_warehouse/running_activity/
  • Auth: none declared

Path parameters

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

cutoff_daysinteger

Only include runs created within this many days of now. Defaults to 30.

kind'all' | 'import' | 'model'

Which runs to return: 'import' for warehouse source syncs, 'model' for materialized view runs, 'all' for both. Defaults to 'all'.

  • all - all
  • import - import
  • model - model
limitinteger

Max rows to return. Capped at 50 server-side. Defaults to 20.

offsetinteger

Rows to skip, for pagination. Defaults to 0.

Response

nextstring nullable required

Query string for the next page, or null on the last.

previousstring nullable required

Query string for the previous page, or null on the first.

Changes

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