PostHog · Schema
LLMPromptPublic
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| prompt | object | Full prompt content. Omitted when 'content=preview' or 'content=none'. |
| prompt_preview | string | First 160 characters of the prompt. Only present when 'content=preview'. |
| outline | array | Flat list of markdown headings parsed from the prompt. Useful as a lightweight table of contents. |
| version | integer | |
| created_at | string | |
| updated_at | string | |
| deleted | boolean | |
| is_latest | boolean | |
| latest_version | integer | |
| version_count | integer | |
| first_version_created_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LLMPromptPublic",
"title": "LLMPromptPublic",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"prompt": {
"description": "Full prompt content. Omitted when 'content=preview' or 'content=none'."
},
"prompt_preview": {
"type": "string",
"description": "First 160 characters of the prompt. Only present when 'content=preview'."
},
"outline": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LLMPromptOutlineEntry"
},
"description": "Flat list of markdown headings parsed from the prompt. Useful as a lightweight table of contents."
},
"version": {
"type": "integer"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"deleted": {
"type": "boolean"
},
"is_latest": {
"type": "boolean"
},
"latest_version": {
"type": "integer"
},
"version_count": {
"type": "integer"
},
"first_version_created_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"created_at",
"deleted",
"first_version_created_at",
"id",
"is_latest",
"latest_version",
"name",
"outline",
"updated_at",
"version",
"version_count"
]
}