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) |
JSON Schema
{
"$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)"
}
}
}