PostHog · Schema
ActionReference
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| type | string | Resource type: insight, experiment, cohort, or hog_function |
| id | string | Resource ID (integer or UUID depending on type) |
| name | string | Resource name |
| url | string | Relative URL to the resource |
| created_at | string | When the resource was created |
| created_by | object | User who created the resource |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ActionReference",
"title": "ActionReference",
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Resource type: insight, experiment, cohort, or hog_function"
},
"id": {
"type": "string",
"description": "Resource ID (integer or UUID depending on type)"
},
"name": {
"type": "string",
"description": "Resource name"
},
"url": {
"type": "string",
"description": "Relative URL to the resource"
},
"created_at": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "When the resource was created"
},
"created_by": {
"allOf": [
{
"$ref": "#/components/schemas/UserBasic"
}
],
"nullable": true,
"description": "User who created the resource"
}
},
"required": [
"created_at",
"created_by",
"id",
"name",
"type",
"url"
]
}