PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Events API

7 actions 7 updates phrasing extends openapi/posthog-events-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PostHog's API. It is a proposal applied on top of the contract, not a document PostHog publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/api/environments/{environment_id}/events/'].get
$.paths['/api/environments/{environment_id}/events/{id}/'].get
$.paths['/api/environments/{environment_id}/events/values/'].get
$.paths['/api/projects/{project_id}/events/'].get
$.paths['/api/projects/{project_id}/events/{id}/'].get
$.paths['/api/projects/{project_id}/events/values/'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PostHog Events API
  version: 1.0.0
extends: openapi/posthog-events-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/api/environments/{environment_id}/events/'].get
  update:
    x-apievangelist-phrasing:
      intent: List events in an environment (deprecated)
      effect: read
      questions:
      - Can I still list events in an environment with the deprecated environment endpoint?
      - Is the environment events list still recommended for filtering events?
      instructions:
      - text: List events in environment {environment_id} for distinct ID {distinct_id}.
        slots:
          environment_id: path.environment_id
          distinct_id: query.distinct_id
      - text: Show events in environment {environment_id} named {event} between {after} and {before}.
        slots:
          environment_id: path.environment_id
          event: query.event
          after: query.after
          before: query.before
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/events/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an event in an environment (deprecated)
      effect: read
      questions:
      - Can I fetch a single event by ID in an environment with the deprecated endpoint?
      - What does the environment events retrieve return for one event?
      instructions:
      - text: Get event {id} in environment {environment_id}.
        slots:
          id: path.id
          environment_id: path.environment_id
      - text: Show the single event {id} from environment {environment_id}.
        slots:
          id: path.id
          environment_id: path.environment_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/events/values/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get event values in an environment (deprecated)
      effect: read
      questions:
      - Can I still get distinct values for an event property in an environment?
      - Is the environment events values endpoint deprecated?
      instructions:
      - text: Get event values for environment {environment_id}.
        slots:
          environment_id: path.environment_id
      - text: Show distinct values of event properties in environment {environment_id}.
        slots:
          environment_id: path.environment_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/events/'].get
  update:
    x-apievangelist-phrasing:
      intent: List events in a project
      effect: read
      questions:
      - How do I list events for a project using the projects endpoint?
      - Can I filter project events by property or person ID?
      instructions:
      - text: List events in project {project_id} for distinct ID {distinct_id}.
        slots:
          project_id: path.project_id
          distinct_id: query.distinct_id
      - text: Show events in project {project_id} matching {event} with properties {properties}.
        slots:
          project_id: path.project_id
          event: query.event
          properties: query.properties
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/events/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an event in a project
      effect: read
      questions:
      - How do I fetch one event by ID in a project?
      - What does the project events retrieve return for a single event?
      instructions:
      - text: Get event {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the single event {id} from project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/events/values/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get event values in a project
      effect: read
      questions:
      - How do I get the distinct values of an event property in a project?
      - Can I list event property values for a project?
      instructions:
      - text: Get event values for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show distinct values of event properties in project {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/posthog-events-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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