PostHog · Schema
TestHogResultItem
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| event_uuid | string | UUID of the $ai_generation event. |
| trace_id | string | Trace ID if available. |
| input_preview | string | First 200 chars of the generation input. |
| output_preview | string | First 200 chars of the generation output. |
| result | boolean | True = pass, False = fail, null = N/A or error. |
| reasoning | string | Hog evaluation reasoning string, if any. |
| error | string | Error message if the Hog code raised an exception. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TestHogResultItem",
"title": "TestHogResultItem",
"type": "object",
"properties": {
"event_uuid": {
"type": "string",
"description": "UUID of the $ai_generation event."
},
"trace_id": {
"type": "string",
"nullable": true,
"description": "Trace ID if available."
},
"input_preview": {
"type": "string",
"description": "First 200 chars of the generation input."
},
"output_preview": {
"type": "string",
"description": "First 200 chars of the generation output."
},
"result": {
"type": "boolean",
"nullable": true,
"description": "True = pass, False = fail, null = N/A or error."
},
"reasoning": {
"type": "string",
"nullable": true,
"description": "Hog evaluation reasoning string, if any."
},
"error": {
"type": "string",
"nullable": true,
"description": "Error message if the Hog code raised an exception."
}
},
"required": [
"error",
"event_uuid",
"input_preview",
"output_preview",
"reasoning",
"result"
]
}