PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Replay API

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

$.info
$.paths['/api/environments/{environment_id}/session_recording_playlists/'].get
$.paths['/api/environments/{environment_id}/session_recording_playlists/'].post
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].get
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].put
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].delete
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].patch
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/'].get
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/'].post
$.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/'].delete
$.paths['/api/environments/{environment_id}/session_recordings/'].get
$.paths['/api/environments/{environment_id}/session_recordings/{id}/'].get
$.paths['/api/environments/{environment_id}/session_recordings/{id}/'].put
$.paths['/api/environments/{environment_id}/session_recordings/{id}/'].delete
$.paths['/api/environments/{environment_id}/session_recordings/{id}/'].patch
$.paths['/api/environments/{project_id}/session_summaries/create_session_summaries_individually/'].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 Replay API
  version: 1.0.0
extends: openapi/posthog-replay-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: 29
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/'].get
  update:
    x-apievangelist-phrasing:
      intent: List session recording playlists (legacy path)
      effect: read
      questions:
      - Can I list session recording playlists using the deprecated environments path?
      - Which playlists were created by a given user on the legacy path?
      instructions:
      - text: List session recording playlists for environment {environment_id} on the legacy path.
        slots:
          environment_id: path.environment_id
      - text: Show {limit} playlists created by {created_by} on the legacy environments path.
        slots:
          limit: query.limit
          created_by: query.created_by
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a session recording playlist (legacy path)
      effect: write
      questions:
      - Can I create a saved filter view of recordings on the legacy path?
      - Is it possible to create a synthetic playlist on the deprecated environments path?
      instructions:
      - text: Create playlist {short_id} named {name} in environment {environment_id} on the legacy path.
        slots:
          short_id: requestBody.short_id
          name: requestBody.name
          environment_id: path.environment_id
      - text: Create a {type} playlist {short_id} with filters {filters} on the legacy environments path.
        slots:
          type: requestBody.type
          short_id: requestBody.short_id
          filters: requestBody.filters
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a session recording playlist (legacy path)
      effect: read
      questions:
      - Can I fetch one saved filter view of recordings on the legacy path?
      - What filters does a playlist on the deprecated environments path use?
      instructions:
      - text: Get playlist {short_id} in environment {environment_id} on the legacy path.
        slots:
          short_id: path.short_id
          environment_id: path.environment_id
      - text: Show the filters of {short_id} on the legacy environments path.
        slots:
          short_id: path.short_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a session recording playlist (legacy path)
      effect: write
      questions:
      - Can I overwrite a saved filter view on the legacy path with a full request body?
      - Does the legacy environments path accept a synthetic flag when replacing a playlist?
      instructions:
      - text: Replace playlist {short_id} in environment {environment_id} on the legacy path with {name}.
        slots:
          short_id: path.short_id
          environment_id: path.environment_id
          name: requestBody.name
      - text: Overwrite {short_id} on the legacy environments path with filters {filters} and synthetic {is_synthetic}.
        slots:
          short_id: path.short_id
          filters: requestBody.filters
          is_synthetic: requestBody.is_synthetic
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a session recording playlist (legacy path)
      effect: destructive
      questions:
      - Can I delete a playlist on the legacy path with a DELETE request?
      - Is a hard delete allowed for a playlist on the deprecated environments path?
      instructions:
      - text: Delete playlist {short_id} in environment {environment_id} on the legacy path.
        slots:
          short_id: path.short_id
          environment_id: path.environment_id
      - text: Remove {short_id} from the legacy environments path.
        slots:
          short_id: path.short_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Patch a session recording playlist (legacy path)
      effect: write
      questions:
      - Can I pin a playlist on the legacy path without resending the whole body?
      - Is it possible to change only the description of a saved filter view on the deprecated environments path?
      instructions:
      - text: Pin playlist {short_id} in environment {environment_id} on the legacy path.
        slots:
          short_id: path.short_id
          environment_id: path.environment_id
      - text: Change the description of {short_id} on the legacy environments path to {description}.
        slots:
          short_id: path.short_id
          description: requestBody.description
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/'].get
  update:
    x-apievangelist-phrasing:
      intent: List recordings in a playlist (legacy path)
      effect: read
      questions:
      - Can I list the recordings in a playlist on the legacy path?
      - How many recordings does a saved filter view contain on the deprecated environments path?
      instructions:
      - text: List recordings in playlist {short_id} of environment {environment_id} on the legacy path.
        slots:
          short_id: path.short_id
          environment_id: path.environment_id
      - text: Show the recordings of {short_id} on the legacy environments path.
        slots:
          short_id: path.short_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a recording to a playlist (legacy path)
      effect: write
      questions:
      - Can I add a recording to a playlist on the legacy path?
      - Is it possible to add a single session to a saved filter view on the deprecated environments path?
      instructions:
      - text: Add recording {session_recording_id} to playlist {short_id} in environment {environment_id} on the legacy path.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
          environment_id: path.environment_id
      - text: Append {session_recording_id} to {short_id} on the legacy environments path.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a recording from a playlist (legacy path)
      effect: destructive
      questions:
      - Can I remove a recording from a playlist on the legacy path?
      - Is it possible to take a single session out of a saved filter view on the deprecated environments path?
      instructions:
      - text: Remove recording {session_recording_id} from playlist {short_id} in environment {environment_id} on the legacy path.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
          environment_id: path.environment_id
      - text: Take {session_recording_id} out of {short_id} on the legacy environments path.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recordings/'].get
  update:
    x-apievangelist-phrasing:
      intent: List session recordings (legacy path)
      effect: read
      questions:
      - Can I list session recordings using the deprecated environments path?
      - Which recordings were captured in a given environment on the legacy path?
      instructions:
      - text: List session recordings for environment {environment_id} on the legacy path.
        slots:
          environment_id: path.environment_id
      - text: Show {limit} recordings captured in {environment_id} on the legacy environments path.
        slots:
          limit: query.limit
          environment_id: path.environment_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recordings/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a session recording (legacy path)
      effect: read
      questions:
      - Can I fetch one session recording on the legacy path?
      - What was the start and end time of a recording in a given environment on the deprecated environments path?
      instructions:
      - text: Get session recording {id} in environment {environment_id} on the legacy path.
        slots:
          id: path.id
          environment_id: path.environment_id
      - text: Show the details of {id} in {environment_id} on the legacy environments path.
        slots:
          id: path.id
          environment_id: path.environment_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recordings/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a replay session recording
      effect: write
      questions:
      - How do I mark a session recording as viewed by a user?
      - Can I change a replay recording's activity score and console log counts?
      instructions:
      - text: Mark recording {id} as viewed by {distinct_id} in project {environment_id}.
        slots:
          id: path.id
          distinct_id: requestBody.distinct_id
          environment_id: path.environment_id
      - text: Update session {id} with {click_count} clicks, {keypress_count} keypresses and {mouse_activity_count} mouse moves.
        slots:
          id: path.id
          click_count: requestBody.click_count
          keypress_count: requestBody.keypress_count
          mouse_activity_count: requestBody.mouse_activity_count
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{environment_id}/session_recordings/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a replay session recording
      effect: destructive
      questions:
      - How do I remove a recorded session replay?
      - Can I delete a session recording through the API?
      instructions:
      - text: Delete session recording {id} in project {environment_id}.
        slots:
          id: path.id
          environment_id: path.environment_id
      - text: Remove replay {id} permanently 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}/session_recordings/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Patch a session recording (legacy path)
      effect: write
      questions:
      - Can I mark a session recording as viewed on the legacy path without resending the whole body?
      - Is it possible to change only the activity score of a recording on the deprecated environments path?
      instructions:
      - text: Mark session recording {id} in environment {environment_id} on the legacy path as viewed.
        slots:
          id: path.id
          environment_id: path.environment_id
      - text: Change the activity score of {id} in {environment_id} on the legacy environments path to {activity_score}.
        slots:
          id: path.id
          environment_id: path.environment_id
          activity_score: requestBody.activity_score
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/environments/{project_id}/session_summaries/create_session_summaries_individually/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create AI summaries for session recordings
      effect: write
      questions:
      - Can I get AI summaries for each session recording without grouping them?
      - How do I summarize specific session IDs individually?
      instructions:
      - text: Summarize sessions {session_ids} in project {project_id}.
        slots:
          session_ids: requestBody.session_ids
          project_id: path.project_id
      - text: Generate individual summaries for sessions {session_ids} focusing on {focus_area}.
        slots:
          session_ids: requestBody.session_ids
          focus_area: requestBody.focus_area
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/'].get
  update:
    x-apievangelist-phrasing:
      intent: List session recording playlists
      effect: read
      questions:
      - Which saved filter views of recordings exist in my project?
      - Can I list synthetic playlists along with my session recording playlists?
      instructions:
      - text: List session recording playlists in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show {limit} playlists in {project_id} created by {created_by}.
        slots:
          limit: query.limit
          project_id: path.project_id
          created_by: query.created_by
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a session recording playlist
      effect: write
      questions:
      - Can I create a saved filter view of recordings in my project?
      - Is it possible to create a synthetic playlist in a project?
      instructions:
      - text: Create playlist {short_id} named {name} in project {project_id}.
        slots:
          short_id: requestBody.short_id
          name: requestBody.name
          project_id: path.project_id
      - text: Create a {type} playlist {short_id} with filters {filters} in {project_id}.
        slots:
          type: requestBody.type
          short_id: requestBody.short_id
          filters: requestBody.filters
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a session recording playlist
      effect: read
      questions:
      - Can I fetch one saved filter view of recordings in my project?
      - What filters does a playlist in my project use?
      instructions:
      - text: Get playlist {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Show the filters of {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a session recording playlist
      effect: write
      questions:
      - Can I overwrite a saved filter view in my project with a full request body?
      - Does my project accept a synthetic flag when replacing a playlist?
      instructions:
      - text: Replace playlist {short_id} in project {project_id} with {name}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          name: requestBody.name
      - text: Overwrite {short_id} in {project_id} with filters {filters} and synthetic {is_synthetic}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          filters: requestBody.filters
          is_synthetic: requestBody.is_synthetic
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a session recording playlist
      effect: destructive
      questions:
      - Can I delete a playlist in my project with a DELETE request?
      - Is a hard delete allowed for a playlist in my project?
      instructions:
      - text: Delete playlist {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Remove {short_id} from {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a session recording playlist
      effect: write
      questions:
      - Can I rename a session recording playlist?
      - Is it possible to pin a saved filter playlist to the top?
      instructions:
      - text: Rename session recording playlist {short_id} in project {project_id} to {name}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          name: requestBody.name
      - text: Pin playlist {short_id} in project {project_id} to the top.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/'].get
  update:
    x-apievangelist-phrasing:
      intent: List recordings in a session recording playlist
      effect: read
      questions:
      - Which recordings are in a particular session recording playlist?
      - Can I see every session in a saved filter playlist?
      instructions:
      - text: List the recordings in session recording playlist {short_id} of project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Show every session in playlist {short_id} for project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a session recording to a playlist
      effect: write
      questions:
      - How do I add a session recording to a session recording playlist?
      - Can I pin a session to a saved filter playlist?
      instructions:
      - text: Add session {session_recording_id} to playlist {short_id} in project {project_id}.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
          project_id: path.project_id
      - text: Pin session {session_recording_id} to playlist {short_id} of project {project_id}.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a session recording from a playlist
      effect: destructive
      questions:
      - Can I take a session out of a session recording playlist?
      - What's the way to unpin a session from a saved filter playlist?
      instructions:
      - text: Remove session {session_recording_id} from playlist {short_id} in project {project_id}.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
          project_id: path.project_id
      - text: Unpin session {session_recording_id} from playlist {short_id} of project {project_id}.
        slots:
          session_recording_id: path.session_recording_id
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recordings/'].get
  update:
    x-apievangelist-phrasing:
      intent: List session recordings
      effect: read
      questions:
      - What session recordings exist in my project?
      - Can I page through all session recordings?
      instructions:
      - text: List session recordings in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show the first {limit} session recordings in project {project_id}.
        slots:
          limit: query.limit
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recordings/{id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a session recording
      effect: read
      questions:
      - Can I view one session recording by its ID?
      - What are the details of a specific session recording?
      instructions:
      - text: Get session recording {id} in project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Show the details of session {id} for project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recordings/{id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a session recording's details
      effect: write
      questions:
      - How do I overwrite all the fields of a session recording?
      - Can I set the activity score and summary outcome of a session recording?
      instructions:
      - text: Replace session recording {id} in project {project_id} with these details.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Overwrite every field of session {id} for project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/session_recordings/{id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a session recording
      effect: destructive
      questions:
      - Can I delete a session recording?
      - What happens to a session recording when I remove it?
      instructions:
      - text: Delete session recording {id} from project {project_id}.
        slots:
          id: path.id
          project_id: path.project_id
      - text: Remove session {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}/session_recordings/{id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update some fields of a session recording
      effect: write
      questions:
      - Can I change just the activity score of a session recording?
      - Is it possible to set the summary outcome without touching the rest of a session?
      instructions:
      - text: Set the activity score of session {id} in project {project_id} to {activity_score}.
        slots:
          id: path.id
          project_id: path.project_id
          activity_score: requestBody.activity_score
      - text: Set the summary outcome of session {id} for project {project_id} to {summary_outcome}.
        slots:
          id: path.id
          project_id: path.project_id
          summary_outcome: requestBody.summary_outcome
      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-replay-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.