PostHog · Schema

_LogsCountRangesResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
ranges array Buckets ordered by `date_from` ascending. Empty buckets are omitted — infer gaps by comparing each bucket's `date_to` to the next bucket's `date_from`.
interval string Short-form duration of the chosen bucket width (e.g. "1h", "5m", "30s", "1d"). Informational only — use each bucket's `date_from`/`date_to` for follow-up queries.
View JSON Schema on GitHub

JSON Schema

posthog-logscountrangesresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/_LogsCountRangesResponse",
  "title": "_LogsCountRangesResponse",
  "type": "object",
  "properties": {
    "ranges": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/_LogsCountRangeBucket"
      },
      "description": "Buckets ordered by `date_from` ascending. Empty buckets are omitted \u2014 infer gaps by comparing each bucket's `date_to` to the next bucket's `date_from`."
    },
    "interval": {
      "type": "string",
      "description": "Short-form duration of the chosen bucket width (e.g. \"1h\", \"5m\", \"30s\", \"1d\"). Informational only \u2014 use each bucket's `date_from`/`date_to` for follow-up queries."
    }
  },
  "required": [
    "interval",
    "ranges"
  ]
}