PostHog · Schema

PatchedAction

Serializer mixin that handles tags for objects.

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id integer
name string Name of the action (must be unique within the project).
description string Human-readable description of what this action represents.
tags array
post_to_slack boolean Whether to post a notification to Slack when this action is triggered.
slack_message_format string Custom Slack message format. Supports templates with event properties.
steps array Action steps defining trigger conditions. Each step matches events by name, properties, URL, or element attributes. Multiple steps are OR-ed together.
created_at string
created_by object
deleted boolean
is_calculating boolean
last_calculated_at string
team_id integer
is_action boolean
bytecode_error string
pinned_at string ISO 8601 timestamp when the action was pinned, or null if not pinned. Set any value to pin, null to unpin.
creation_context string
_create_in_folder string
user_access_level string The effective access level the user has for this object
View JSON Schema on GitHub

JSON Schema

posthog-patchedaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PatchedAction",
  "title": "PatchedAction",
  "type": "object",
  "description": "Serializer mixin that handles tags for objects.",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "nullable": true,
      "description": "Name of the action (must be unique within the project).",
      "maxLength": 400
    },
    "description": {
      "type": "string",
      "description": "Human-readable description of what this action represents."
    },
    "tags": {
      "type": "array",
      "items": {}
    },
    "post_to_slack": {
      "type": "boolean",
      "description": "Whether to post a notification to Slack when this action is triggered."
    },
    "slack_message_format": {
      "type": "string",
      "description": "Custom Slack message format. Supports templates with event properties.",
      "maxLength": 1200
    },
    "steps": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ActionStepJSON"
      },
      "description": "Action steps defining trigger conditions. Each step matches events by name, properties, URL, or element attributes. Multiple steps are OR-ed together."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "deleted": {
      "type": "boolean"
    },
    "is_calculating": {
      "type": "boolean",
      "readOnly": true
    },
    "last_calculated_at": {
      "type": "string",
      "format": "date-time"
    },
    "team_id": {
      "type": "integer",
      "readOnly": true
    },
    "is_action": {
      "type": "boolean",
      "readOnly": true,
      "default": true
    },
    "bytecode_error": {
      "type": "string",
      "readOnly": true,
      "nullable": true
    },
    "pinned_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "ISO 8601 timestamp when the action was pinned, or null if not pinned. Set any value to pin, null to unpin."
    },
    "creation_context": {
      "type": "string",
      "nullable": true,
      "readOnly": true
    },
    "_create_in_folder": {
      "type": "string",
      "writeOnly": true,
      "title": " create in folder"
    },
    "user_access_level": {
      "type": "string",
      "nullable": true,
      "readOnly": true,
      "description": "The effective access level the user has for this object"
    }
  }
}

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-patchedaction"
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.