PostHog · Schema

Notebook

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string UUID of the notebook.
short_id string Short alphanumeric identifier used in URLs and API lookups.
title string Title of the notebook.
content object Notebook content as a ProseMirror JSON document structure.
text_content string Plain text representation of the notebook content for search.
version integer Version number for optimistic concurrency control. Must match the current version when updating content.
deleted boolean Whether the notebook has been soft-deleted.
created_at string
created_by object
last_modified_at string
last_modified_by object
user_access_level string The effective access level the user has for this object
_create_in_folder string
View JSON Schema on GitHub

JSON Schema

posthog-notebook-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Notebook",
  "title": "Notebook",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true,
      "description": "UUID of the notebook."
    },
    "short_id": {
      "type": "string",
      "readOnly": true,
      "description": "Short alphanumeric identifier used in URLs and API lookups."
    },
    "title": {
      "type": "string",
      "nullable": true,
      "description": "Title of the notebook.",
      "maxLength": 256
    },
    "content": {
      "nullable": true,
      "description": "Notebook content as a ProseMirror JSON document structure."
    },
    "text_content": {
      "type": "string",
      "nullable": true,
      "description": "Plain text representation of the notebook content for search."
    },
    "version": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648,
      "description": "Version number for optimistic concurrency control. Must match the current version when updating content."
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the notebook has been soft-deleted."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "last_modified_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "last_modified_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "user_access_level": {
      "type": "string",
      "nullable": true,
      "readOnly": true,
      "description": "The effective access level the user has for this object"
    },
    "_create_in_folder": {
      "type": "string",
      "writeOnly": true,
      "title": " create in folder"
    }
  },
  "required": [
    "created_at",
    "created_by",
    "id",
    "last_modified_at",
    "last_modified_by",
    "short_id",
    "user_access_level"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-notebook"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.