PostHog · Schema
ActorsQuery
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| fixedProperties | array | Currently only person filters supported. No filters for querying groups. See `filter_conditions()` in actor_strategies.py. |
| kind | string | |
| limit | integer | |
| modifiers | object | Modifiers used when performing the query |
| offset | integer | |
| orderBy | array | |
| properties | object | Currently only person filters supported. No filters for querying groups. See `filter_conditions()` in actor_strategies.py. |
| response | object | |
| search | string | |
| select | array | |
| source | object | |
| tags | object | |
| version | number | version of the node, used for schema migrations |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ActorsQuery",
"title": "ActorsQuery",
"additionalProperties": false,
"properties": {
"fixedProperties": {
"default": null,
"description": "Currently only person filters supported. No filters for querying groups. See `filter_conditions()` in actor_strategies.py.",
"title": "Fixedproperties",
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/PersonPropertyFilter"
},
{
"$ref": "#/components/schemas/CohortPropertyFilter"
},
{
"$ref": "#/components/schemas/HogQLPropertyFilter"
},
{
"$ref": "#/components/schemas/EmptyPropertyFilter"
}
]
},
"type": "array",
"nullable": true
},
"kind": {
"default": "ActorsQuery",
"title": "Kind",
"type": "string",
"enum": [
"ActorsQuery"
]
},
"limit": {
"default": null,
"title": "Limit",
"type": "integer",
"nullable": true
},
"modifiers": {
"default": null,
"description": "Modifiers used when performing the query",
"allOf": [
{
"$ref": "#/components/schemas/HogQLQueryModifiers"
}
],
"nullable": true
},
"offset": {
"default": null,
"title": "Offset",
"type": "integer",
"nullable": true
},
"orderBy": {
"default": null,
"title": "Orderby",
"items": {
"type": "string"
},
"type": "array",
"nullable": true
},
"properties": {
"default": null,
"description": "Currently only person filters supported. No filters for querying groups. See `filter_conditions()` in actor_strategies.py.",
"title": "Properties",
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/PersonPropertyFilter"
},
{
"$ref": "#/components/schemas/CohortPropertyFilter"
},
{
"$ref": "#/components/schemas/HogQLPropertyFilter"
},
{
"$ref": "#/components/schemas/EmptyPropertyFilter"
}
]
},
"type": "array"
},
{
"$ref": "#/components/schemas/PropertyGroupFilterValue"
}
],
"nullable": true
},
"response": {
"default": null,
"allOf": [
{
"$ref": "#/components/schemas/ActorsQueryResponse"
}
],
"nullable": true
},
"search": {
"default": null,
"title": "Search",
"type": "string",
"nullable": true
},
"select": {
"default": null,
"title": "Select",
"items": {
"type": "string"
},
"type": "array",
"nullable": true
},
"source": {
"default": null,
"title": "Source",
"anyOf": [
{
"$ref": "#/components/schemas/InsightActorsQuery"
},
{
"$ref": "#/components/schemas/FunnelsActorsQuery"
},
{
"$ref": "#/components/schemas/FunnelCorrelationActorsQuery"
},
{
"$ref": "#/components/schemas/ExperimentActorsQuery"
},
{
"$ref": "#/components/schemas/StickinessActorsQuery"
},
{
"$ref": "#/components/schemas/HogQLQuery"
}
],
"nullable": true
},
"tags": {
"default": null,
"allOf": [
{
"$ref": "#/components/schemas/QueryLogTags"
}
],
"nullable": true
},
"version": {
"default": null,
"description": "version of the node, used for schema migrations",
"title": "Version",
"type": "number",
"nullable": true
}
},
"type": "object"
}