PostHog · Schema

TextReprOptions

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
max_length integer Maximum length of generated text (default: 2000000)
truncated boolean Use truncation for long content within events (default: true)
truncate_buffer integer Characters to show at start/end when truncating (default: 1000)
include_markers boolean Use interactive markers for frontend vs plain text for backend/LLM (default: true)
collapsed boolean Show summary vs full tree hierarchy for traces (default: false)
include_metadata boolean Include metadata in response
include_hierarchy boolean Include hierarchy information (for traces)
max_depth integer Maximum depth for hierarchical rendering
tools_collapse_threshold integer Number of tools before collapsing the list (default: 5)
include_line_numbers boolean Prefix each line with line number (default: false)
View JSON Schema on GitHub

JSON Schema

posthog-textreproptions-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextReprOptions",
  "title": "TextReprOptions",
  "type": "object",
  "properties": {
    "max_length": {
      "type": "integer",
      "description": "Maximum length of generated text (default: 2000000)"
    },
    "truncated": {
      "type": "boolean",
      "description": "Use truncation for long content within events (default: true)"
    },
    "truncate_buffer": {
      "type": "integer",
      "description": "Characters to show at start/end when truncating (default: 1000)"
    },
    "include_markers": {
      "type": "boolean",
      "description": "Use interactive markers for frontend vs plain text for backend/LLM (default: true)"
    },
    "collapsed": {
      "type": "boolean",
      "description": "Show summary vs full tree hierarchy for traces (default: false)"
    },
    "include_metadata": {
      "type": "boolean",
      "description": "Include metadata in response"
    },
    "include_hierarchy": {
      "type": "boolean",
      "description": "Include hierarchy information (for traces)"
    },
    "max_depth": {
      "type": "integer",
      "description": "Maximum depth for hierarchical rendering"
    },
    "tools_collapse_threshold": {
      "type": "integer",
      "description": "Number of tools before collapsing the list (default: 5)"
    },
    "include_line_numbers": {
      "type": "boolean",
      "description": "Prefix each line with line number (default: false)"
    }
  }
}

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