PostHog Product Analytics API

The product_analytics API from PostHog — 32 operation(s) for product_analytics.

Business capability
Product Usage Analytics BC-4280.30

Operations 50

GET /api/environments/{environment_id}/elements/ Environments elements list #
POST /api/environments/{environment_id}/elements/ Environments elements create #
GET /api/environments/{environment_id}/elements/{id}/ Environments elements retrieve #
PUT /api/environments/{environment_id}/elements/{id}/ Environments elements update #
PATCH /api/environments/{environment_id}/elements/{id}/ Environments elements partial update #
DELETE /api/environments/{environment_id}/elements/{id}/ Environments elements destroy #
GET /api/environments/{environment_id}/elements/stats/ Environments elements stats retrieve #
GET /api/environments/{environment_id}/elements/values/ Environments elements values retrieve #
GET /api/environments/{environment_id}/insights/ Environments insights list #
POST /api/environments/{environment_id}/insights/ Environments insights create #
GET /api/environments/{environment_id}/insights/{id}/ Environments insights retrieve #
PUT /api/environments/{environment_id}/insights/{id}/ Environments insights update #
PATCH /api/environments/{environment_id}/insights/{id}/ Environments insights partial update #
DELETE /api/environments/{environment_id}/insights/{id}/ Environments insights destroy #
GET /api/environments/{environment_id}/insights/{id}/activity/ Environments insights activity retrieve #
GET /api/environments/{environment_id}/insights/{id}/analyze/ Environments insights analyze retrieve #
GET /api/environments/{environment_id}/insights/{id}/suggestions/ Environments insights suggestions retrieve #
POST /api/environments/{environment_id}/insights/{id}/suggestions/ Environments insights suggestions create #
GET /api/environments/{environment_id}/insights/activity/ Environments insights all activity retrieve #
POST /api/environments/{environment_id}/insights/bulk_update_tags/ Environments insights bulk update tags create #
POST /api/environments/{environment_id}/insights/cancel/ Environments insights cancel create #
POST /api/environments/{environment_id}/insights/generate_metadata/ Environments insights generate metadata create #
GET /api/environments/{environment_id}/insights/my_last_viewed/ Environments insights my last viewed retrieve #
POST /api/environments/{environment_id}/insights/viewed/ Environments insights viewed create #
GET /api/projects/{project_id}/elements/ Elements list #
POST /api/projects/{project_id}/elements/ Elements create #
GET /api/projects/{project_id}/elements/{id}/ Elements retrieve #
PUT /api/projects/{project_id}/elements/{id}/ Elements update #
PATCH /api/projects/{project_id}/elements/{id}/ Elements partial update #
DELETE /api/projects/{project_id}/elements/{id}/ Elements destroy #
GET /api/projects/{project_id}/elements/stats/ Elements stats retrieve #
GET /api/projects/{project_id}/elements/values/ Elements values retrieve #
GET /api/projects/{project_id}/insights/ Insights list #
POST /api/projects/{project_id}/insights/ Insights create #
GET /api/projects/{project_id}/insights/{id}/ Insights retrieve #
PUT /api/projects/{project_id}/insights/{id}/ Insights update #
PATCH /api/projects/{project_id}/insights/{id}/ Insights partial update #
DELETE /api/projects/{project_id}/insights/{id}/ Insights destroy #
GET /api/projects/{project_id}/insights/{id}/activity/ Insights activity retrieve #
GET /api/projects/{project_id}/insights/{id}/analyze/ Insights analyze retrieve #
GET /api/projects/{project_id}/insights/{id}/suggestions/ Insights suggestions retrieve #
POST /api/projects/{project_id}/insights/{id}/suggestions/ Insights suggestions create #
GET /api/projects/{project_id}/insights/activity/ Insights all activity retrieve #
POST /api/projects/{project_id}/insights/bulk_update_tags/ Insights bulk update tags create #
POST /api/projects/{project_id}/insights/cancel/ Insights cancel create #
POST /api/projects/{project_id}/insights/generate_metadata/ Insights generate metadata create #
GET /api/projects/{project_id}/insights/my_last_viewed/ Insights my last viewed retrieve #
POST /api/projects/{project_id}/insights/viewed/ Insights viewed create #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/posthog-product-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

posthog-product-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Product Analytics API
  version: 1.0.0
  description: ''
tags:


# --- truncated at 32 KB (568 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/openapi/posthog-product-analytics-api-openapi.yml