MiqromanageSupport

PostHog

Category: Data / Analytics
Connect by: Paste an API key
Official API docs: https://posthog.com/docs/api

What the agent can see

CapabilityAPI callRiskNeeds approval
List recent ingested events for the project (Bearer personal API key). (docs)GET /api/projects/{project_id}/events/🟢 low— no
List saved insights (charts/funnels) for the project. (docs)GET /api/projects/{project_id}/insights/🟢 low— no
Run an ad-hoc HogQL query against the project's analytics data. (docs)POST /api/projects/{project_id}/query/🟢 low— no

What the agent can do

CapabilityAPI callRiskNeeds approval
Send an analytics event to the public Capture API (project API key in body, no auth header). (docs)POST /capture🟢 low— no

Connecting it

  • You provide: Personal API key + Project API key + host
  • Where to get it: Reads use a PERSONAL API key: PostHog → Settings → Personal API keys → create a key (scope it insight:read / query:read for least privilege). Capture uses a separate PROJECT API key: Project Settings → Project API Key. Pick the matching host — US Cloud https://us.posthog.com, EU Cloud https://eu.posthog.com, or your self-hosted domain — and your numeric project id.
  • Permissions/scopes: insight:read, query:read

Account setup

  • Account needed: A PostHog account (Cloud or self-hosted) with a project.
  • App registration: No app review. Mint a Personal API key (Settings → Personal API keys) for reads and grab the Project API Key (Project Settings) for capture.
  • Verification required: None — access is governed by the personal API key's scopes and project membership.
  • Testing: PostHog Cloud free tier (1M events/mo) on https://us.posthog.com.

Limits

Team-wide limits on the private API: analytics endpoints 240/min & 1200/hr, query 2400/hr, CRUD 480/min & 4800/hr. The public Capture API has no documented rate limit. HTTP 429 with a Retry-After header when exceeded.