PostHog GraphQL Schema
PostHog does not expose a public GraphQL endpoint. Its primary API surface is a REST API documented at https://posthog.com/docs/api, with an additional HogQL query layer (SQL-like) accessible via `POST /api/projects/:project_id/query`.
Overview
PostHog GraphQL Schema is a GraphQL API specification published by PostHog on the APIs.io network.
PostHog does not expose a public GraphQL endpoint. Its primary API surface is a REST API documented at https://posthog.com/docs/api, with an additional HogQL query layer (SQL-like) accessible via POST /api/projects/:project_id/query.
The specification includes 3 reference links.
Tagged areas include A/B Testing, Analytics, Feature Flags, Open-Source, and Product Analytics.
Endpoint
References
- API Docs https://posthog.com/docs/api
- Query API https://posthog.com/docs/api/query
- GitHub https://github.com/PostHog/posthog
Related API Specs
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.