provider insights GET /api/environments/{environment_id}/insights/activity/
@utdk/posthog /api/environments/{environment_id}/insights/activity/
environments_insights_all_activity_retrieve
Project-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when. Useful for surfacing what people (or agents) have been working on recently.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
format query
enum: csv, json
limit query
Page size. Defaults to 10.
integer
page query
1-indexed page number. Defaults to 1.
integer

Try it

Authentication
Configure credentials for PostHog API
environmentsInsightsAllActivityRetrieve
GET/api/environments/{environment_id}/insights/activity/
Project-wide audit trail across all insights — who created, edited, deleted, or restored insights, what changed (with before/after diffs), and when. Useful for surfacing what people (or agents) have been working on recently.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Page size. Defaults to 10.

1-indexed page number. Defaults to 1.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsInsightsAllActivityRetrieve()