How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

PostHog events API

The events API from PostHog — 6 operation(s) for events.

PostHog events API is one of 139 APIs that PostHog publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Event. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, and an AsyncAPI specification.

This API exposes 6 operations across 6 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://app.posthog.com/api.

6 operations 6 paths 10 schemas 6 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://app.posthog.com/api
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

PostHog events API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (PersonalAPIKeyAuth).

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 6 GET. Each is listed below with its method, path, parameters, and response codes.

events 6
GET
/api/environments/{environment_id}/events/deprecated
This endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you wan…
environments_events_list 12 params → 200
GET
/api/environments/{environment_id}/events/{id}/deprecated
environments_events_retrieve 3 params → 200
GET
/api/environments/{environment_id}/events/values/deprecated
environments_events_values_retrieve 2 params → 200
GET
/api/projects/{project_id}/events/
This endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you wan…
events_list 12 params → 200
GET
/api/projects/{project_id}/events/{id}/
events_retrieve 3 params → 200
GET
/api/projects/{project_id}/events/values/
events_values_retrieve 2 params → 200

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are EventElement (10 properties), ClickhouseEvent (8 properties), PropertyItem (4 properties), PaginatedClickhouseEventList (2 properties). Each schema is shown below with its type and property counts.

EventElement
object
10 properties 1 required
PropertyGroupOperator
string
PropertyFilterTypeEnum
string
event - event eventmetadata - eventmetadata feature - feature person - person cohort - cohort element - element static-cohort - static-cohort dynamic-cohort -…
BlankEnum
PropertyItem
object
4 properties 2 required
NullEnum
PaginatedClickhouseEventList
object
2 properties
ClickhouseEvent
object
8 properties 8 required
PropertyItemOperatorEnum
string
exact - exact isnot - isnot icontains - icontains noticontains - noticontains regex - regex notregex - notregex gt - gt lt - lt gte - gte lte - lte isset - iss…
Property
object
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

posthog-events-api-openapi.yml Raw ↑

Other APIs PostHog publishes across the network.

PostHog Capture API
PostHog Query API
PostHog Persons API
PostHog Feature Flags API
PostHog Experiments API
PostHog Insights API
PostHog Cohorts API
PostHog Annotations API
PostHog actions API
PostHog activity_log API
PostHog activity_logs API
PostHog advanced_activity_logs API
Where this information came from

This is an independent, third-party profile of PostHog events API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.