{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peakanswer-com/json-schema/peakanswer-com-post-api-v1-analytics-connections-request-schema.json",
  "title": "PostApiV1AnalyticsConnectionsRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/peakanswer-com-openapi-generated.yml#/components/schemas/PostApiV1AnalyticsConnectionsRequest",
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "description": "One of gsc_connect_url, ga4_connect_url, posthog_connect, or disconnect."
    },
    "host": {
      "type": "string",
      "description": "For posthog_connect: host (us, eu or custom address)."
    },
    "projectId": {
      "type": "string",
      "description": "For posthog_connect: PostHog project ID."
    },
    "apiKey": {
      "type": "string",
      "description": "For posthog_connect: personal API key with query:read."
    }
  },
  "required": [
    "operation"
  ]
}