PostHog Replay API

The replay API from PostHog — 13 operation(s) for replay.

GitHub OpenAPI

Operations 29

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/environments/{environment_id}/session_recording_playlists/ List session recording playlists (legacy path) · Environments session recording playlists list #
Ask an LLM
“Can I list session recording playlists using the deprecated environments path?”
“Which playlists were created by a given user on the legacy path?”
Tell an agent
List session recording playlists for environment {environment_id} on the legacy path.
Show {limit} playlists created by {created_by} on the legacy environments path.
POST /api/environments/{environment_id}/session_recording_playlists/ Create a session recording playlist (legacy path) · Environments session recording playlists create #
Ask an LLM
“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?”
Tell an agent
Create playlist {short_id} named {name} in environment {environment_id} on the legacy path.
Create a {type} playlist {short_id} with filters {filters} on the legacy environments path.
GET /api/environments/{environment_id}/session_recording_playlists/{short_id}/ Get a session recording playlist (legacy path) · Environments session recording playlists retrieve #
Ask an LLM
“Can I fetch one saved filter view of recordings on the legacy path?”
“What filters does a playlist on the deprecated environments path use?”
Tell an agent
Get playlist {short_id} in environment {environment_id} on the legacy path.
Show the filters of {short_id} on the legacy environments path.
PUT /api/environments/{environment_id}/session_recording_playlists/{short_id}/ Replace a session recording playlist (legacy path) · Environments session recording playlists update #
Ask an LLM
“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?”
Tell an agent
Replace playlist {short_id} in environment {environment_id} on the legacy path with {name}.
Overwrite {short_id} on the legacy environments path with filters {filters} and synthetic {is_synthetic}.
PATCH /api/environments/{environment_id}/session_recording_playlists/{short_id}/ Patch a session recording playlist (legacy path) · Environments session recording playlists partial update #
Ask an LLM
“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?”
Tell an agent
Pin playlist {short_id} in environment {environment_id} on the legacy path.
Change the description of {short_id} on the legacy environments path to {description}.
DELETE /api/environments/{environment_id}/session_recording_playlists/{short_id}/ Delete a session recording playlist (legacy path) · Environments session recording playlists destroy #
Ask an LLM
“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?”
Tell an agent destructive · confirm first
Delete playlist {short_id} in environment {environment_id} on the legacy path.
Remove {short_id} from the legacy environments path.
GET /api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/ List recordings in a playlist (legacy path) · Environments session recording playlists recordings retrieve #
Ask an LLM
“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?”
Tell an agent
List recordings in playlist {short_id} of environment {environment_id} on the legacy path.
Show the recordings of {short_id} on the legacy environments path.
POST /api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/ Add a recording to a playlist (legacy path) · Environments session recording playlists recordings create #
Ask an LLM
“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?”
Tell an agent
Add recording {session_recording_id} to playlist {short_id} in environment {environment_id} on the legacy path.
Append {session_recording_id} to {short_id} on the legacy environments path.
DELETE /api/environments/{environment_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/ Remove a recording from a playlist (legacy path) · Environments session recording playlists recordings destroy #
Ask an LLM
“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?”
Tell an agent destructive · confirm first
Remove recording {session_recording_id} from playlist {short_id} in environment {environment_id} on the legacy path.
Take {session_recording_id} out of {short_id} on the legacy environments path.
GET /api/environments/{environment_id}/session_recordings/ List session recordings (legacy path) · Environments session recordings list #
Ask an LLM
“Can I list session recordings using the deprecated environments path?”
“Which recordings were captured in a given environment on the legacy path?”
Tell an agent
List session recordings for environment {environment_id} on the legacy path.
Show {limit} recordings captured in {environment_id} on the legacy environments path.
GET /api/environments/{environment_id}/session_recordings/{id}/ Get a session recording (legacy path) · Environments session recordings retrieve #
Ask an LLM
“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?”
Tell an agent
Get session recording {id} in environment {environment_id} on the legacy path.
Show the details of {id} in {environment_id} on the legacy environments path.
PUT /api/environments/{environment_id}/session_recordings/{id}/ Update a replay session recording · Environments session recordings update #
Ask an LLM
“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?”
Tell an agent
Mark recording {id} as viewed by {distinct_id} in project {environment_id}.
Update session {id} with {click_count} clicks, {keypress_count} keypresses and {mouse_activity_count} mouse moves.
PATCH /api/environments/{environment_id}/session_recordings/{id}/ Patch a session recording (legacy path) · Environments session recordings partial update #
Ask an LLM
“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?”
Tell an agent
Mark session recording {id} in environment {environment_id} on the legacy path as viewed.
Change the activity score of {id} in {environment_id} on the legacy environments path to {activity_score}.
DELETE /api/environments/{environment_id}/session_recordings/{id}/ Delete a replay session recording · Environments session recordings destroy #
Ask an LLM
“How do I remove a recorded session replay?”
“Can I delete a session recording through the API?”
Tell an agent destructive · confirm first
Delete session recording {id} in project {environment_id}.
Remove replay {id} permanently from environment {environment_id}.
POST /api/environments/{project_id}/session_summaries/create_session_summaries_individually/ Create AI summaries for session recordings · Create session summaries individually #
Ask an LLM
“Can I get AI summaries for each session recording without grouping them?”
“How do I summarize specific session IDs individually?”
Tell an agent
Summarize sessions {session_ids} in project {project_id}.
Generate individual summaries for sessions {session_ids} focusing on {focus_area}.
GET /api/projects/{project_id}/session_recording_playlists/ List session recording playlists · Session recording playlists list #
Ask an LLM
“Which saved filter views of recordings exist in my project?”
“Can I list synthetic playlists along with my session recording playlists?”
Tell an agent
List session recording playlists in project {project_id}.
Show {limit} playlists in {project_id} created by {created_by}.
POST /api/projects/{project_id}/session_recording_playlists/ Create a session recording playlist · Session recording playlists create #
Ask an LLM
“Can I create a saved filter view of recordings in my project?”
“Is it possible to create a synthetic playlist in a project?”
Tell an agent
Create playlist {short_id} named {name} in project {project_id}.
Create a {type} playlist {short_id} with filters {filters} in {project_id}.
GET /api/projects/{project_id}/session_recording_playlists/{short_id}/ Get a session recording playlist · Session recording playlists retrieve #
Ask an LLM
“Can I fetch one saved filter view of recordings in my project?”
“What filters does a playlist in my project use?”
Tell an agent
Get playlist {short_id} in project {project_id}.
Show the filters of {short_id} in {project_id}.
PUT /api/projects/{project_id}/session_recording_playlists/{short_id}/ Replace a session recording playlist · Session recording playlists update #
Ask an LLM
“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?”
Tell an agent
Replace playlist {short_id} in project {project_id} with {name}.
Overwrite {short_id} in {project_id} with filters {filters} and synthetic {is_synthetic}.
PATCH /api/projects/{project_id}/session_recording_playlists/{short_id}/ Update a session recording playlist · Session recording playlists partial update #
Ask an LLM
“Can I rename a session recording playlist?”
“Is it possible to pin a saved filter playlist to the top?”
Tell an agent
Rename session recording playlist {short_id} in project {project_id} to {name}.
Pin playlist {short_id} in project {project_id} to the top.
DELETE /api/projects/{project_id}/session_recording_playlists/{short_id}/ Delete a session recording playlist · Session recording playlists destroy #
Ask an LLM
“Can I delete a playlist in my project with a DELETE request?”
“Is a hard delete allowed for a playlist in my project?”
Tell an agent destructive · confirm first
Delete playlist {short_id} in project {project_id}.
Remove {short_id} from {project_id}.
GET /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/ List recordings in a session recording playlist · Session recording playlists recordings retrieve #
Ask an LLM
“Which recordings are in a particular session recording playlist?”
“Can I see every session in a saved filter playlist?”
Tell an agent
List the recordings in session recording playlist {short_id} of project {project_id}.
Show every session in playlist {short_id} for project {project_id}.
POST /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/ Add a session recording to a playlist · Session recording playlists recordings create #
Ask an LLM
“How do I add a session recording to a session recording playlist?”
“Can I pin a session to a saved filter playlist?”
Tell an agent
Add session {session_recording_id} to playlist {short_id} in project {project_id}.
Pin session {session_recording_id} to playlist {short_id} of project {project_id}.
DELETE /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}/ Remove a session recording from a playlist · Session recording playlists recordings destroy #
Ask an LLM
“Can I take a session out of a session recording playlist?”
“What's the way to unpin a session from a saved filter playlist?”
Tell an agent destructive · confirm first
Remove session {session_recording_id} from playlist {short_id} in project {project_id}.
Unpin session {session_recording_id} from playlist {short_id} of project {project_id}.
GET /api/projects/{project_id}/session_recordings/ List session recordings · Session recordings list #
Ask an LLM
“What session recordings exist in my project?”
“Can I page through all session recordings?”
Tell an agent
List session recordings in project {project_id}.
Show the first {limit} session recordings in project {project_id}.
GET /api/projects/{project_id}/session_recordings/{id}/ Get a session recording · Session recordings retrieve #
Ask an LLM
“Can I view one session recording by its ID?”
“What are the details of a specific session recording?”
Tell an agent
Get session recording {id} in project {project_id}.
Show the details of session {id} for project {project_id}.
PUT /api/projects/{project_id}/session_recordings/{id}/ Replace a session recording's details · Session recordings update #
Ask an LLM
“How do I overwrite all the fields of a session recording?”
“Can I set the activity score and summary outcome of a session recording?”
Tell an agent
Replace session recording {id} in project {project_id} with these details.
Overwrite every field of session {id} for project {project_id}.
PATCH /api/projects/{project_id}/session_recordings/{id}/ Update some fields of a session recording · Session recordings partial update #
Ask an LLM
“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?”
Tell an agent
Set the activity score of session {id} in project {project_id} to {activity_score}.
Set the summary outcome of session {id} for project {project_id} to {summary_outcome}.
DELETE /api/projects/{project_id}/session_recordings/{id}/ Delete a session recording · Session recordings destroy #
Ask an LLM
“Can I delete a session recording?”
“What happens to a session recording when I remove it?”
Tell an agent destructive · confirm first
Delete session recording {id} from project {project_id}.
Remove session {id} from project {project_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/posthog:posthog-replay-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

posthog-replay-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Replay API
  version: 1.0.0
  description: ''
tags:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/posthog/openapi/posthog-replay-api-openapi.yml