{
  "opencollection": "1.0.0",
  "info": {
    "name": "Wispr Backend Analytics API",
    "version": "0.5.2"
  },
  "items": [
    {
      "info": {
        "name": "Analytics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Track Event Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/analytics/track",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deprecated no-op retained for backward compatibility; validates and discards the payload (analytics moved to PostHog)."
        },
        {
          "info": {
            "name": "Ingest User Metadata Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/analytics/user-metadata",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Ingest user metadata into ClickHouse."
        },
        {
          "info": {
            "name": "Query User Metadata Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/analytics/user-metadata/query",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Fetch user metadata rows from ClickHouse with pagination using request body."
        }
      ]
    }
  ],
  "bundled": true
}