PostHog · Schema

SummarizeResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
summary object Structured AI-generated summary with flow, bullets, and optional notes
text_repr string Line-numbered text representation that the summary references
metadata object Metadata about the summarization
View JSON Schema on GitHub

JSON Schema

posthog-summarizeresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SummarizeResponse",
  "title": "SummarizeResponse",
  "type": "object",
  "properties": {
    "summary": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StructuredSummary"
        }
      ],
      "description": "Structured AI-generated summary with flow, bullets, and optional notes"
    },
    "text_repr": {
      "type": "string",
      "description": "Line-numbered text representation that the summary references"
    },
    "metadata": {
      "description": "Metadata about the summarization"
    }
  },
  "required": [
    "summary",
    "text_repr"
  ]
}