{
  "opencollection": "1.0.0",
  "info": {
    "name": "Wispr Backend Analytics Insights API",
    "version": "0.5.2"
  },
  "items": [
    {
      "info": {
        "name": "Insights",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Insights",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/insights",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Return stats data for the Insights tab (no heatmap)."
        },
        {
          "info": {
            "name": "Get Heatmap",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/insights/heatmap",
            "params": [
              {
                "name": "since",
                "value": "",
                "type": "query"
              },
              {
                "name": "until",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Return heatmap data for a date range. Defaults to the last 365 days."
        },
        {
          "info": {
            "name": "Desktop Corrections Backfill",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/insights/desktop-corrections-backfill",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "One-shot backfill of desktop_total_words_corrected from client SQLite history."
        }
      ]
    }
  ],
  "bundled": true
}