PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Platform Features API

28 actions 28 updates phrasing extends openapi/posthog-platform-features-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 28 · first 16 shown; the file carries all of them

$.info
$.paths['/api/environments/{project_id}/approval_policies/'].get
$.paths['/api/environments/{project_id}/approval_policies/'].post
$.paths['/api/environments/{project_id}/approval_policies/{id}/'].get
$.paths['/api/environments/{project_id}/approval_policies/{id}/'].put
$.paths['/api/environments/{project_id}/approval_policies/{id}/'].delete
$.paths['/api/environments/{project_id}/approval_policies/{id}/'].patch
$.paths['/api/environments/{project_id}/change_requests/'].get
$.paths['/api/environments/{project_id}/change_requests/{id}/'].get
$.paths['/api/environments/{project_id}/change_requests/{id}/approve/'].post
$.paths['/api/environments/{project_id}/change_requests/{id}/cancel/'].post
$.paths['/api/environments/{project_id}/change_requests/{id}/reject/'].post
$.paths['/api/organizations/'].get
$.paths['/api/organizations/'].post
$.paths['/api/organizations/{id}/'].get
$.paths['/api/organizations/{id}/'].put

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 Platform Features API
  version: 1.0.0
extends: openapi/posthog-platform-features-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: 27
- target: $.paths['/api/environments/{project_id}/approval_policies/'].get
  update:
    x-apievangelist-phrasing:
      intent: List approval policies
      effect: read
      questions:
      - Which approval policies are set up for my project?
      - Can I see every approval policy in an organization?
      instructions:
      - text: List approval policies for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show all approval policies in project {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/approval_policies/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an approval policy
      effect: write
      questions:
      - How do I require approval before changing a feature flag?
      - Can an approval policy let members of certain roles bypass approval?
      instructions:
      - text: Create an approval policy in project {project_id} for action {action_key} with approver config {approver_config}.
        slots:
          project_id: path.project_id
          action_key: requestBody.action_key
          approver_config: requestBody.approver_config
      - text: Add an approval policy in project {project_id} that bypasses org membership levels {bypass_org_membership_levels}.
        slots:
          project_id: path.project_id
          bypass_org_membership_levels: requestBody.bypass_org_membership_levels
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/approval_policies/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an approval policy
      effect: read
      questions:
      - What conditions does a specific approval policy require?
      - Can I look up one approval policy by its ID?
      instructions:
      - text: Get approval policy {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the conditions of approval policy {id} for project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/approval_policies/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an approval policy
      effect: write
      questions:
      - How do I overwrite an existing approval policy with new conditions?
      - Can I change the approver config on an approval policy?
      instructions:
      - text: Replace approval policy {id} in project {project_id} with action {action_key} and approver config {approver_config}.
        slots:
          id: path.id
          project_id: path.project_id
          action_key: requestBody.action_key
          approver_config: requestBody.approver_config
      - text: Overwrite approval policy {id} in project {project_id} so it expires after {expires_after}.
        slots:
          id: path.id
          project_id: path.project_id
          expires_after: requestBody.expires_after
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/approval_policies/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an approval policy
      effect: destructive
      questions:
      - Can I delete an approval policy in a project?
      - What do I need to remove a project approval policy?
      instructions:
      - text: Delete approval policy {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Remove the policy {id} from project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/approval_policies/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change some fields of an approval policy
      effect: write
      questions:
      - Can I disable an approval policy without deleting it?
      - How do I change just the conditions on an approval policy?
      instructions:
      - text: Disable approval policy {id} in project {project_id} by setting enabled to {enabled}.
        slots:
          id: path.id
          project_id: path.project_id
          enabled: requestBody.enabled
      - text: Change the conditions on approval policy {id} in project {project_id} to {conditions}.
        slots:
          id: path.id
          project_id: path.project_id
          conditions: requestBody.conditions
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/change_requests/'].get
  update:
    x-apievangelist-phrasing:
      intent: List change requests
      effect: read
      questions:
      - Which change requests are waiting for approval in my project?
      - Can I filter change requests by state or resource type?
      instructions:
      - text: List change requests in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show change requests in project {project_id} with state {state}.
        slots:
          project_id: path.project_id
          state: query.state
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/change_requests/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a change request
      effect: read
      questions:
      - What does a specific change request ask for and who requested it?
      - Can I see the approvals on one change request?
      instructions:
      - text: Get change request {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the requester and approvals for change request {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/change_requests/{id}/approve/'].post
  update:
    x-apievangelist-phrasing:
      intent: Approve a change request
      effect: write
      questions:
      - How do I approve a change request so it gets applied?
      - Does approving a change request apply it right away if quorum is reached?
      instructions:
      - text: Approve change request {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Apply change request {id} in project {project_id} by approving it.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/change_requests/{id}/cancel/'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a change request
      effect: destructive
      questions:
      - Can I cancel a change request I submitted myself?
      - Who is allowed to cancel a pending change request?
      instructions:
      - text: Cancel change request {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Withdraw my pending change request {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/change_requests/{id}/reject/'].post
  update:
    x-apievangelist-phrasing:
      intent: Reject a change request
      effect: write
      questions:
      - How do I turn down a change request?
      - Can I record a reason when I reject a change request?
      instructions:
      - text: Reject change request {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Turn down change request {id} in project {project_id} and record the reason.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/'].get
  update:
    x-apievangelist-phrasing:
      intent: List organizations
      effect: read
      questions:
      - Which organizations exist in my account?
      - Can I page through all organizations?
      instructions:
      - text: List all organizations.
      - text: Show {limit} organizations starting at offset {offset}.
        slots:
          limit: query.limit
          offset: query.offset
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an organization
      effect: write
      questions:
      - How do I create a new organization for a customer?
      - Can I set the default role and 2FA enforcement when creating an organization?
      instructions:
      - text: Create an organization {name} with slug {slug}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
      - text: 'Create organization {name} with slug {slug} and enforce 2FA: {enforce_2fa}.'
        slots:
          name: requestBody.name
          slug: requestBody.slug
          enforce_2fa: requestBody.enforce_2fa
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an organization
      effect: read
      questions:
      - What are the details of one organization?
      - Can I look up an organization by its ID?
      instructions:
      - text: Get organization {id}.
        slots:
          id: path.id
      - text: Show the details of organization {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an organization
      effect: write
      questions:
      - How do I overwrite an organization's details completely?
      - Can I change every field of an organization at once?
      instructions:
      - text: Replace organization {id} with name {name} and slug {slug}.
        slots:
          id: path.id
          name: requestBody.name
          slug: requestBody.slug
      - text: Overwrite organization {id} with name {name}, slug {slug} and default role {default_role_id}.
        slots:
          id: path.id
          name: requestBody.name
          slug: requestBody.slug
          default_role_id: requestBody.default_role_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an organization
      effect: destructive
      questions:
      - How do I delete an organization?
      - Can I remove an organization by its ID?
      instructions:
      - text: Delete organization {id}.
        slots:
          id: path.id
      - text: Remove organization {id} from my account.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change some fields of an organization
      effect: write
      questions:
      - Can I rename an organization without touching its other fields?
      - How do I turn off 2FA enforcement for an organization?
      instructions:
      - text: Rename organization {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Set 2FA enforcement on organization {id} to {enforce_2fa}.
        slots:
          id: path.id
          enforce_2fa: requestBody.enforce_2fa
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{organization_id}/roles/{role_id}/role_memberships/'].get
  update:
    x-apievangelist-phrasing:
      intent: List members of a role
      effect: read
      questions:
      - Who belongs to a particular role in my organization?
      - Can I page through the members of one role?
      instructions:
      - text: List members of role {role_id} in organization {organization_id}.
        slots:
          role_id: path.role_id
          organization_id: path.organization_id
      - text: Show {limit} members of role {role_id} in organization {organization_id}.
        slots:
          limit: query.limit
          role_id: path.role_id
          organization_id: path.organization_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{organization_id}/roles/{role_id}/role_memberships/'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a member to a role
      effect: write
      questions:
      - How do I give a user a specific role in my organization?
      - Can I add a member to a role by their user ID?
      instructions:
      - text: Add user {user} to role {role_id} in organization {organization_id}.
        slots:
          user: requestBody.user
          role_id: path.role_id
          organization_id: path.organization_id
      - text: Give user {user} the {role_id} role in organization {organization_id}.
        slots:
          user: requestBody.user
          role_id: path.role_id
          organization_id: path.organization_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a role membership
      effect: read
      questions:
      - Who has a particular role membership?
      - Can I look up one user's role membership by its ID?
      instructions:
      - text: Get role membership {id} in role {role_id} at organization {organization_id}.
        slots:
          id: path.id
          role_id: path.role_id
          organization_id: path.organization_id
      - text: Show who holds membership {id} for role {role_id} in {organization_id}.
        slots:
          id: path.id
          role_id: path.role_id
          organization_id: path.organization_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a user from a role
      effect: destructive
      questions:
      - How do I take a user off a role in my organization?
      - Can I revoke someone's role membership?
      instructions:
      - text: Remove role membership {id} from role {role_id} in organization {organization_id}.
        slots:
          id: path.id
          role_id: path.role_id
          organization_id: path.organization_id
      - text: Revoke user access by deleting role membership {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/organizations/{organization_id}/welcome/current/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the invited-user welcome screen
      effect: read
      questions:
      - What does the new user welcome screen show?
      - Where can I see the onboarding details for an invited user?
      instructions:
      - text: Show the current invited-user welcome screen for organization {organization_id}.
        slots:
          organization_id: path.organization_id
      - text: Get the new user onboarding payload for {organization_id}.
        slots:
          organization_id: path.organization_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/advanced_activity_logs/'].get
  update:
    x-apievangelist-phrasing:
      intent: List advanced activity logs
      effect: read
      questions:
      - Who changed what in my project recently?
      - Can I filter activity logs by user or scope?
      - Is there a way to search activity logs by text?
      instructions:
      - text: List advanced activity logs for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show activity logs in project {project_id} for users {users}.
        slots:
          project_id: path.project_id
          users: query.users
      - text: Find activity logs in {project_id} matching {search_text}.
        slots:
          project_id: path.project_id
          search_text: query.search_text
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/advanced_activity_logs/available_filters/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get filters available for activity logs
      effect: read
      questions:
      - Which filters can I apply to activity logs?
      - What scopes and users are available for activity log filtering?
      instructions:
      - text: Get the available filters for advanced activity logs in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show which scopes and users activity logs can be filtered by.
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/advanced_activity_logs/export/'].post
  update:
    x-apievangelist-phrasing:
      intent: Export advanced activity logs
      effect: write
      questions:
      - Can I export advanced activity logs for a project?
      - What activity and item scope go in an advanced activity logs export?
      instructions:
      - text: Export advanced activity logs for {activity} on {scope} in project {project_id}.
        slots:
          activity: requestBody.activity
          scope: requestBody.scope
          project_id: path.project_id
      - text: Create an advanced activity log export for item {item_id}, user {user}, project {project_id}.
        slots:
          item_id: requestBody.item_id
          user: requestBody.user
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/user_home_settings/{uuid}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a user's pinned tabs and homepage
      effect: read
      questions:
      - Which tabs are pinned in my sidebar?
      - What homepage does the current user have set?
      instructions:
      - text: Get the home settings for user {uuid}.
        slots:
          uuid: path.uuid
      - text: Show the pinned tabs and homepage for {uuid}.
        slots:
          uuid: path.uuid
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/user_home_settings/{uuid}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a user's pinned tabs or homepage
      effect: write
      questions:
      - Can I pin a dashboard in my sidebar?
      - How do I change the homepage a user sees when they click the logo?
      instructions:
      - text: Set the homepage for user {uuid} to {homepage}.
        slots:
          uuid: path.uuid
          homepage: requestBody.homepage
      - text: Pin tabs {tabs} for user {uuid}.
        slots:
          uuid: path.uuid
          tabs: requestBody.tabs
      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-platform-features-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.