PostHog · GraphQL Specification

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`.

Documentation Endpoint View on GitHub A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession RecordingGraphQL

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

Related API Specs

PostHog API (OpenAPI)
Back to PostHog · All GraphQL Specs · GitHub