PostHog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PostHog Notebooks API

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

$.info
$.paths['/api/projects/{project_id}/notebooks/'].get
$.paths['/api/projects/{project_id}/notebooks/'].post
$.paths['/api/projects/{project_id}/notebooks/{short_id}/'].get
$.paths['/api/projects/{project_id}/notebooks/{short_id}/'].put
$.paths['/api/projects/{project_id}/notebooks/{short_id}/'].delete
$.paths['/api/projects/{project_id}/notebooks/{short_id}/'].patch
$.paths['/api/projects/{project_id}/notebooks/{short_id}/activity/'].get
$.paths['/api/projects/{project_id}/notebooks/{short_id}/collab/save/'].post
$.paths['/api/projects/{project_id}/notebooks/{short_id}/collab/stream/'].get
$.paths['/api/projects/{project_id}/notebooks/{short_id}/hogql/execute/'].post
$.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/config/'].post
$.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/dataframe/'].get
$.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/execute/'].post
$.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/execute/stream/'].post
$.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/restart/'].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 Notebooks API
  version: 1.0.0
extends: openapi/posthog-notebooks-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: 20
- target: $.paths['/api/projects/{project_id}/notebooks/'].get
  update:
    x-apievangelist-phrasing:
      intent: List notebooks in a project
      effect: read
      questions:
      - Which notebooks exist in my project?
      - Can I find notebooks created by a specific user?
      instructions:
      - text: List notebooks in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Find notebooks in {project_id} created by {user}.
        slots:
          project_id: path.project_id
          user: query.user
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a notebook
      effect: write
      questions:
      - How do I create a new notebook?
      - What fields are required to create a notebook?
      instructions:
      - text: Create notebook {short_id} titled {title} in project {project_id}.
        slots:
          short_id: requestBody.short_id
          title: requestBody.title
          project_id: path.project_id
      - text: Create a new notebook {short_id} in {project_id} with content {content}.
        slots:
          short_id: requestBody.short_id
          project_id: path.project_id
          content: requestBody.content
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a notebook
      effect: read
      questions:
      - How do I read the content of a notebook?
      - Can I fetch one notebook by its short ID?
      instructions:
      - text: Get notebook {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Show the content of notebook {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}/notebooks/{short_id}/'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a notebook's content
      effect: write
      questions:
      - How do I overwrite a notebook's content completely?
      - Can I set a notebook's title and content in one call?
      instructions:
      - text: Replace the content of notebook {short_id} in {project_id} with {content}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          content: requestBody.content
      - text: Overwrite notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a notebook
      effect: destructive
      questions:
      - How do I delete a notebook?
      - Can I hard delete a notebook by its short ID?
      instructions:
      - text: Delete notebook {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Remove notebook {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}/notebooks/{short_id}/'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit a notebook's title or content
      effect: write
      questions:
      - How do I rename a notebook?
      - Can I change only a notebook's title without resending its content?
      instructions:
      - text: Rename notebook {short_id} in {project_id} to {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      - text: Update the title of notebook {short_id} in {project_id} to {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/activity/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a notebook's edit history
      effect: read
      questions:
      - Who edited a notebook and when?
      - Can I see the edit history of one notebook?
      instructions:
      - text: Show the edit history of notebook {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: List the activity on notebook {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}/notebooks/{short_id}/collab/save/'].post
  update:
    x-apievangelist-phrasing:
      intent: Save collaborative edits to a notebook
      effect: write
      questions:
      - How do I save collaborative edits to a notebook?
      - Can I apply ProseMirror steps to a notebook in real time?
      instructions:
      - text: Save collaborative edits {steps} to notebook {short_id} in {project_id}.
        slots:
          steps: requestBody.steps
          short_id: path.short_id
          project_id: path.project_id
      - text: Apply steps {steps} to notebook {short_id} in {project_id} and set the cursor to {cursor_head}.
        slots:
          steps: requestBody.steps
          short_id: path.short_id
          project_id: path.project_id
          cursor_head: requestBody.cursor_head
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/collab/stream/'].get
  update:
    x-apievangelist-phrasing:
      intent: Stream collaborative edits for a notebook
      effect: read
      questions:
      - Can I stream collaborative edits to a notebook in real time?
      - Is there a live collaborative stream for a notebook?
      instructions:
      - text: Stream collaborative edits for notebook {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Open the collaborative edit stream of notebook {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}/notebooks/{short_id}/hogql/execute/'].post
  update:
    x-apievangelist-phrasing:
      intent: Run a HogQL query in a notebook
      effect: write
      questions:
      - How do I run a HogQL query inside a notebook?
      - Can I execute a query against a notebook's content?
      instructions:
      - text: Run a HogQL query in notebook {short_id} of {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Execute a HogQL query on notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/config/'].post
  update:
    x-apievangelist-phrasing:
      intent: Configure a notebook's kernel
      effect: write
      questions:
      - How do I configure the kernel for a notebook?
      - Can I set kernel options on a notebook?
      instructions:
      - text: Configure the kernel for notebook {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Set kernel options on notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/dataframe/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a notebook's kernel dataframe
      effect: read
      questions:
      - What data does a notebook's kernel dataframe contain?
      - Can I fetch the kernel dataframe of a notebook?
      instructions:
      - text: Get the kernel dataframe of notebook {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Show the kernel dataframe for notebook {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}/notebooks/{short_id}/kernel/execute/'].post
  update:
    x-apievangelist-phrasing:
      intent: Execute code in a notebook's kernel
      effect: write
      questions:
      - How do I run code in a notebook's kernel?
      - Can I execute a cell in a notebook?
      instructions:
      - text: Execute code in the kernel of notebook {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Run a cell in notebook {short_id} of {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/execute/stream/'].post
  update:
    x-apievangelist-phrasing:
      intent: Stream code execution in a notebook's kernel
      effect: write
      questions:
      - Can I stream the output of a notebook's kernel execution?
      - Is there a streaming kernel execution for a notebook?
      instructions:
      - text: Stream kernel execution for notebook {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Stream the output of notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/restart/'].post
  update:
    x-apievangelist-phrasing:
      intent: Restart a notebook's kernel
      effect: write
      questions:
      - How do I restart the kernel of a notebook?
      - Can I reset a notebook's kernel?
      instructions:
      - text: Restart the kernel of notebook {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Reset the kernel of notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/start/'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a notebook's kernel
      effect: write
      questions:
      - How do I start a notebook's kernel?
      - Can I launch a kernel for a notebook?
      instructions:
      - text: Start the kernel of notebook {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Launch the kernel for notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/status/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a notebook's kernel status
      effect: read
      questions:
      - Is the kernel of my notebook running?
      - What is the current status of a notebook's kernel?
      instructions:
      - text: Get the kernel status of notebook {short_id} in project {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Check whether notebook {short_id} in {project_id} has a running kernel.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/{short_id}/kernel/stop/'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop a notebook's kernel
      effect: write
      questions:
      - How do I stop a notebook's kernel?
      - Can I shut down a notebook's kernel?
      instructions:
      - text: Stop the kernel of notebook {short_id} in {project_id}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
      - text: Shut down the kernel of notebook {short_id} in {project_id} with title {title}.
        slots:
          short_id: path.short_id
          project_id: path.project_id
          title: requestBody.title
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/activity/'].get
  update:
    x-apievangelist-phrasing:
      intent: List activity across all notebooks
      effect: read
      questions:
      - What has happened across all notebooks in my project?
      - Can I see a combined activity log for every notebook?
      instructions:
      - text: List activity across all notebooks in project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show the combined edit history of every notebook in {project_id}.
        slots:
          project_id: path.project_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/api/projects/{project_id}/notebooks/recording_comments/'].get
  update:
    x-apievangelist-phrasing:
      intent: List comments on notebook recordings
      effect: read
      questions:
      - What comments exist on notebook recordings?
      - Can I fetch the recording comments for a project?
      instructions:
      - text: List recording comments for project {project_id}.
        slots:
          project_id: path.project_id
      - text: Show the comments on notebook recordings in {project_id}.
        slots:
          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-notebooks-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.