Returns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/data_warehouse/completed_activity/
- Auth: none declared
Path parameters
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
Only include runs created within this many days of now. Defaults to 30.
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
Max rows to return. Capped at 50 server-side. Defaults to 20.
Rows to skip, for pagination. Defaults to 0.
Which outcome to return: 'completed', 'failed', or 'all' for every run that finished either way. Defaults to 'completed'. Running jobs come from running_activity instead.
- completed - completed
- failed - failed
- all - all
Response
Changes
No recorded changes to this operation across all 1 revision of this API.