Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contents/docs/posthog-ai/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ While working with PostHog AI, you will certainly share some information with it
- Actions and cohorts
- Event and property definitions
- Data warehouse schema
- Activity logs (requires audit logs feature)

Based on that context, PostHog AI comes up with queries, runs them, and summarizes the results. Those results can be as high-level as a single number, or as detailed as a list of users with all their properties.

Expand Down
14 changes: 14 additions & 0 deletions contents/docs/settings/activity-logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,20 @@ This adds organization-level events to your activity feed, such as member invita

You can view the change history for any individual resource. When viewing a feature flag, dashboard, experiment, or other resource, click the **History** tab to see all changes made to that specific item over time.

## Query with PostHog AI

[PostHog AI](/docs/posthog-ai) can answer questions about your activity logs using natural language. Ask questions like:

- "Who changed the checkout-flow feature flag?"
- "What experiments were modified last week?"
- "Show me all dashboard changes by jane@example.com"

PostHog AI can filter by scope (resource type), activity type, user, date range, and specific item IDs — the same filters available in the UI.

To use this feature, open [PostHog AI](https://app.posthog.com/#panel=max) and ask your question. PostHog AI queries your activity logs and summarizes the results.

> **Note:** Querying activity logs with PostHog AI requires the audit logs feature, which is available on Scale and Enterprise plans.

## Notifications

You can subscribe to activity log changes and receive notifications via Slack, webhooks, or other destinations when specific events occur.
Expand Down