PostHog · Schema

PersonPropertiesAtTimeMetadata

Serializer for the point-in-time query metadata.

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
queried_timestamp string The timestamp that was queried in ISO format
include_set_once boolean Whether $set_once operations were included
distinct_id_used string The distinct_id parameter used in the request
person_id_used string The person_id parameter used in the request
query_mode string Whether the query used 'distinct_id' or 'person_id' mode
distinct_ids_queried array All distinct_ids that were queried for this person
distinct_ids_count integer Number of distinct_ids associated with this person
View JSON Schema on GitHub

JSON Schema

posthog-personpropertiesattimemetadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PersonPropertiesAtTimeMetadata",
  "title": "PersonPropertiesAtTimeMetadata",
  "type": "object",
  "description": "Serializer for the point-in-time query metadata.",
  "properties": {
    "queried_timestamp": {
      "type": "string",
      "description": "The timestamp that was queried in ISO format"
    },
    "include_set_once": {
      "type": "boolean",
      "description": "Whether $set_once operations were included"
    },
    "distinct_id_used": {
      "type": "string",
      "nullable": true,
      "description": "The distinct_id parameter used in the request"
    },
    "person_id_used": {
      "type": "string",
      "nullable": true,
      "description": "The person_id parameter used in the request"
    },
    "query_mode": {
      "type": "string",
      "description": "Whether the query used 'distinct_id' or 'person_id' mode"
    },
    "distinct_ids_queried": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "All distinct_ids that were queried for this person"
    },
    "distinct_ids_count": {
      "type": "integer",
      "description": "Number of distinct_ids associated with this person"
    }
  },
  "required": [
    "distinct_id_used",
    "distinct_ids_count",
    "distinct_ids_queried",
    "include_set_once",
    "person_id_used",
    "queried_timestamp",
    "query_mode"
  ]
}