PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Actions API

9 actions 9 updates phrasing extends openapi/posthog-actions-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 9

$.info
$.paths['/api/projects/{project_id}/actions/'].get
$.paths['/api/projects/{project_id}/actions/'].post
$.paths['/api/projects/{project_id}/actions/{id}/'].get
$.paths['/api/projects/{project_id}/actions/{id}/'].put
$.paths['/api/projects/{project_id}/actions/{id}/'].delete
$.paths['/api/projects/{project_id}/actions/{id}/'].patch
$.paths['/api/projects/{project_id}/actions/{id}/references/'].get
$.paths['/api/projects/{project_id}/actions/bulk_update_tags/'].post

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 Actions API
  version: 1.0.0
extends: openapi/posthog-actions-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: 8
- target: $.paths['/api/projects/{project_id}/actions/'].get
  update:
    x-apievangelist-phrasing:
      intent: List project actions
      effect: read
      questions:
      - Which actions are set up in my project?
      - Can I page through all actions in a project?
      instructions:
      - text: List actions in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show {limit} actions from project {project_id} starting at offset {offset}.
        slots:
          limit: query.limit
          project_id: path.project_id
          offset: query.offset
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/actions/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an action
      effect: write
      questions:
      - How do I create a new action that fires when a user completes a purchase?
      - Can I set steps and Slack notifications when creating an action?
      instructions:
      - text: Create action {name} in project {project_id} with steps {steps}.
        slots:
          name: requestBody.name
          project_id: path.project_id
          steps: requestBody.steps
      - text: Create action {name} in project {project_id} that posts to Slack with {post_to_slack}.
        slots:
          name: requestBody.name
          project_id: path.project_id
          post_to_slack: requestBody.post_to_slack
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/actions/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an action
      effect: read
      questions:
      - What steps and Slack settings does a particular action have?
      - Can I look up one action by its ID?
      instructions:
      - text: Get action {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the Slack notification settings of action {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/actions/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an action's steps
      effect: write
      questions:
      - How do I overwrite an action's steps in one call?
      - Can I replace an action's Slack message format entirely?
      instructions:
      - text: Replace action {id} in project {project_id} with steps {steps}.
        slots:
          id: path.id
          project_id: path.project_id
          steps: requestBody.steps
      - text: Overwrite action {id} in project {project_id} with Slack message {slack_message_format}.
        slots:
          id: path.id
          project_id: path.project_id
          slack_message_format: requestBody.slack_message_format
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/actions/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an action (hard)
      effect: destructive
      questions:
      - Can I hard delete an action instead of marking it deleted?
      - What happens to an action when I hard delete it?
      instructions:
      - text: Hard delete action {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Permanently remove action {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}/actions/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change an action's tags or Slack settings
      effect: write
      questions:
      - How do I add a tag to an action without resending all its steps?
      - Can I turn off Slack notifications on an action?
      instructions:
      - text: Add tags {tags} to action {id} in project {project_id}.
        slots:
          tags: requestBody.tags
          id: path.id
          project_id: path.project_id
      - text: Set Slack notification to {post_to_slack} on action {id} in project {project_id}.
        slots:
          post_to_slack: requestBody.post_to_slack
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/actions/{id}/references/'].get
  update:
    x-apievangelist-phrasing:
      intent: Find where an action is used
      effect: read
      questions:
      - Which events or insights use a particular action?
      - Where is this action referenced in my project?
      instructions:
      - text: List references to action {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show where action {id} is used across the project.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/actions/bulk_update_tags/'].post
  update:
    x-apievangelist-phrasing:
      intent: Add, remove or replace tags on actions
      effect: write
      questions:
      - How do I tag many actions at once?
      - Can I remove a tag from several actions in one request?
      instructions:
      - text: Apply action {action} with tags {tags} to actions {ids} in project {project_id}.
        slots:
          action: requestBody.action
          tags: requestBody.tags
          ids: requestBody.ids
          project_id: path.project_id
      - text: Bulk {action} tags {tags} on actions {ids} in project {project_id}.
        slots:
          action: requestBody.action
          tags: requestBody.tags
          ids: requestBody.ids
          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-actions-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.