PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Event Filter API

5 actions 5 updates phrasing extends openapi/posthog-event-filter-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 5

$.info
$.paths['/api/environments/{project_id}/event_filter/'].get
$.paths['/api/environments/{project_id}/event_filter/'].post
$.paths['/api/environments/{project_id}/event_filter/metrics/'].get
$.paths['/api/environments/{project_id}/event_filter/metrics/totals/'].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 Event Filter API
  version: 1.0.0
extends: openapi/posthog-event-filter-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: 4
- target: $.paths['/api/environments/{project_id}/event_filter/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the event filter config
      effect: read
      questions:
      - What event filter is my team using?
      - Is an event filter config already set up for this project?
      instructions:
      - text: Get the event filter config for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show the event filter settings in project {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/event_filter/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create or update the event filter
      effect: write
      questions:
      - How do I drop events that match a condition?
      - Can I test an event filter against sample events before going live?
      instructions:
      - text: Create event filter {id} in project {project_id} with config {filter_tree}.
        slots:
          id: requestBody.id
          project_id: path.project_id
          filter_tree: requestBody.filter_tree
      - text: Set up event filter {id} in project {project_id} in mode {mode}.
        slots:
          id: requestBody.id
          project_id: path.project_id
          mode: requestBody.mode
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/event_filter/metrics/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get event filter time-series metrics
      effect: read
      questions:
      - How many events has my event filter dropped over time?
      - Can I see event filter performance as a time series?
      instructions:
      - text: Get event filter metrics for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show how the event filter in project {project_id} has performed over time.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/event_filter/metrics/totals/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get aggregate event filter metric totals
      effect: read
      questions:
      - What are the total counts for my event filter, summed up rather than over time?
      - Can I see one aggregate number for how much my event filter has handled?
      - Which overall totals does the event filter report for a project?
      instructions:
      - text: Get the aggregate event filter totals for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show summed-up event filter metric totals, not a time series, for 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-event-filter-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.