PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Product Tours API

12 actions 12 updates phrasing extends openapi/posthog-product-tours-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 12

$.info
$.paths['/api/projects/{project_id}/product_tours/'].get
$.paths['/api/projects/{project_id}/product_tours/'].post
$.paths['/api/projects/{project_id}/product_tours/{id}/'].get
$.paths['/api/projects/{project_id}/product_tours/{id}/'].put
$.paths['/api/projects/{project_id}/product_tours/{id}/'].delete
$.paths['/api/projects/{project_id}/product_tours/{id}/'].patch
$.paths['/api/projects/{project_id}/product_tours/{id}/discard_draft/'].delete
$.paths['/api/projects/{project_id}/product_tours/{id}/draft/'].patch
$.paths['/api/projects/{project_id}/product_tours/{id}/draft_status/'].get
$.paths['/api/projects/{project_id}/product_tours/{id}/generate/'].post
$.paths['/api/projects/{project_id}/product_tours/{id}/publish_draft/'].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 Product Tours API
  version: 1.0.0
extends: openapi/posthog-product-tours-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: 11
- target: $.paths['/api/projects/{project_id}/product_tours/'].get
  update:
    x-apievangelist-phrasing:
      intent: List product tours
      effect: read
      questions:
      - Which onboarding tours are set up in my project?
      - Can I search product tours by name?
      instructions:
      - text: List product tours in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Find product tours in {project_id} matching {search}.
        slots:
          project_id: path.project_id
          search: query.search
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a product tour
      effect: write
      questions:
      - How do I create a new onboarding tour?
      - Can I set a start and end date on a product tour?
      instructions:
      - text: Create product tour {name} in project {project_id} with content {content}.
        slots:
          name: requestBody.name
          project_id: path.project_id
          content: requestBody.content
      - text: Create a product tour {name} that starts on {start_date} and ends on {end_date}.
        slots:
          name: requestBody.name
          start_date: requestBody.start_date
          end_date: requestBody.end_date
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product tour
      effect: read
      questions:
      - What steps and content does a specific product tour have?
      - Can I look up one tour by its ID?
      instructions:
      - text: Get product tour {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the steps and content of tour {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a product tour's content
      effect: write
      questions:
      - How do I overwrite a product tour's steps with new content?
      - Can I set a tour's targeting flag filters in a full update?
      instructions:
      - text: Replace the content of product tour {id} in project {project_id} with {content}.
        slots:
          id: path.id
          project_id: path.project_id
          content: requestBody.content
      - text: Set targeting flag filters {targeting_flag_filters} on tour {id}.
        slots:
          targeting_flag_filters: requestBody.targeting_flag_filters
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a product tour
      effect: destructive
      questions:
      - How do I delete an onboarding tour I no longer need?
      - Can I remove a product tour by its ID?
      instructions:
      - text: Delete product tour {id} from project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Remove the onboarding tour {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit a product tour's settings
      effect: write
      questions:
      - Can I turn off auto-launch on a product tour without resending the whole content?
      - How do I change a tour's description?
      instructions:
      - text: Set auto-launch to {auto_launch} on product tour {id} in project {project_id}.
        slots:
          auto_launch: requestBody.auto_launch
          id: path.id
          project_id: path.project_id
      - text: Change the description of tour {id} to {description}.
        slots:
          id: path.id
          description: requestBody.description
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/discard_draft/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Discard a product tour's draft
      effect: destructive
      questions:
      - How do I throw away the draft of a product tour I'm editing?
      - Can I discard a tour draft without publishing it?
      instructions:
      - text: Discard the draft of product tour {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Throw away the draft on tour {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/draft/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Save a product tour's draft
      effect: write
      questions:
      - Can I save a draft of a product tour without triggering side effects?
      - How do I keep editing a tour's steps on the server without publishing?
      instructions:
      - text: Save draft content {content} on product tour {id} in project {project_id}.
        slots:
          content: requestBody.content
          id: path.id
          project_id: path.project_id
      - text: Keep editing tour {id} by saving its draft.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/draft_status/'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a product tour's draft status
      effect: read
      questions:
      - Has the draft of a product tour changed since my last check?
      - Is there a draft on a product tour I'm editing?
      instructions:
      - text: Check the draft status of product tour {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Poll whether tour {id} has a draft.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/generate/'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate tour steps with AI
      effect: write
      questions:
      - Can AI write the steps of a product tour for me?
      - How do I generate tour content from a goal and title?
      instructions:
      - text: Generate tour steps for product tour {id} in project {project_id} titled {title} with goal {goal}.
        slots:
          id: path.id
          project_id: path.project_id
          title: requestBody.title
          goal: requestBody.goal
      - text: Use AI to write steps {steps} for tour {id}.
        slots:
          steps: requestBody.steps
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/product_tours/{id}/publish_draft/'].post
  update:
    x-apievangelist-phrasing:
      intent: Publish a product tour draft to live
      effect: write
      questions:
      - How do I publish a draft product tour so users see it?
      - Does publishing a tour validate it and run its side effects?
      instructions:
      - text: Publish draft tour {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Save changes {content} to draft tour {id} and publish it live.
        slots:
          content: requestBody.content
          id: path.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-product-tours-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.