PostHog
Product analytics platform for tracking user behavior, feature flags, experiments, and more.
Categories: Analytics, Product
What you can ask
- Show me the funnel conversion for
signuptofirst_actionover the last 30 days. - Find users who triggered
feature_x_usedmore than 5 times in the last week. - Pull the top 10 events by volume yesterday.
Set up
PostHog connects with credentials from your PostHog account. Have these values ready:
- PostHog host (include https://)
- Project ID
- Personal API key
- Go to Organization > Connectors and find PostHog.
- Click Enable and choose which tools to allow.
- Each member enters their own values the first time they use it.
To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.
Tools
PostHog offers 63 tools. Admins choose which ones agents can use. See Tool permission groups.
Read (32)
View and search information without changing it.
| Tool | What it does |
|---|---|
get_action | Get an action by ID. |
get_annotation | Get an annotation by ID. |
get_batch_export | Get a batch export configuration by ID. |
get_cohort | Get a cohort by ID. |
get_current_user | Get the currently authenticated user's profile including email, name, organization, and team details. |
get_dashboard | Get a dashboard by ID with its tiles. |
get_event_definition | Get an event definition by ID. |
get_experiment | Get an experiment by ID. |
get_feature_flag | Get a feature flag by ID. |
get_insight | Get an insight by ID. |
get_person | Get a person by ID with their properties and distinct IDs. |
get_project | Get a specific project by ID. |
get_property_definition | Get a property definition by ID. |
get_session_recording | Get a session recording by ID. |
get_survey | Get a survey by ID. |
list_actions | List actions with pagination. |
list_activity_log | List activity log entries showing recent changes to the project (data management, events, properties, surveys, actions). |
list_annotations | List annotations with pagination. |
list_batch_exports | List batch export configurations with pagination. |
list_cohorts | List cohorts with pagination. |
list_dashboards | List dashboards with pagination. |
list_event_definitions | List event definitions with pagination. |
list_experiments | List experiments with pagination. |
list_feature_flags | List feature flags with pagination. |
list_insights | List saved insights with pagination. |
list_persons | List persons with pagination. |
list_projects | List all projects in the organization. |
list_property_definitions | List property definitions with pagination. |
list_session_recordings | List session recordings with pagination. |
list_surveys | List surveys with pagination. |
run_query | Execute a HogQL query. |
validate_credential | Validate PostHog credentials by fetching the current user profile. |
Write (9)
Create or send data.
| Tool | What it does |
|---|---|
create_action | Create a new action. |
create_annotation | Create an annotation at a specific date. |
create_batch_export | Create a batch export to regularly export data to a destination (S3, BigQuery, Snowflake, etc.). |
create_cohort | Create a new cohort. |
create_dashboard | Create a new dashboard. |
create_experiment | Create a new experiment. |
create_feature_flag | Create a new feature flag. |
create_insight | Create a new insight. |
create_survey | Create a new survey. |
Delete or overwrite (22)
Remove or replace existing data.
| Tool | What it does |
|---|---|
delete_action | Soft-delete an action by marking it as deleted. |
delete_annotation | Soft-delete an annotation by marking it as deleted. |
delete_batch_export | Delete a batch export configuration permanently. |
delete_cohort | Soft-delete a cohort by marking it as deleted. |
delete_dashboard | Soft-delete a dashboard by marking it as deleted. |
delete_experiment | Soft-delete an experiment by marking it as deleted. |
delete_feature_flag | Soft-delete a feature flag by marking it as deleted. |
delete_insight | Soft-delete an insight by marking it as deleted. |
delete_person | Delete a person and their data permanently. |
delete_session_recording | Delete a session recording permanently. |
delete_survey | Delete a survey permanently. |
update_action | Update an action's name, description, or matching steps. |
update_annotation | Update an annotation's content, date, or scope. |
update_cohort | Update a cohort's name, description, or filter groups. |
update_dashboard | Update a dashboard's name, description, or pinned status. |
update_event_definition | Update an event definition's description or tags. |
update_experiment | Update an experiment's name, description, parameters, or filters. |
update_feature_flag | Update a feature flag's key, name, active status, or filters. |
update_insight | Update an insight's name, description, filters, or query. |
update_project | Update a project's name or timezone. |
update_property_definition | Update a property definition's description, tags, or type. |
update_survey | Update a survey's name, description, questions, or schedule. |