{
  "timezone": "Asia/Shanghai",
  "granularity": "monthly_to_date",
  "data_status": "complete",
  "month": "2026-09",
  "assignment_id": "80b4a524-c232-400f-ab78-8995d9d1a774",
  "assignment_url": "https://helix.pingcap.net/me/api-keys/80b4a524-c232-400f-ab78-8995d9d1a774",
  "source": {
    "kind": "helix_apikey_assignment_spend_detail",
    "endpoint": "/api/v1/apikeys/assignments/{assignment_id}/spend/detail",
    "last_fact_date": "2026-09-06",
    "notes": [
      "Helix refresh failed during collector run; preserved existing data. Error type: HTTPError."
    ]
  },
  "summary": {
    "total_spend": 342.22,
    "budget": 2100.0,
    "budget_utilization_percent": 16.3,
    "data_available": true
  },
  "profiles": [
    {
      "profile": "AIOPS",
      "used_by": "AIOPS",
      "spend": 148.1515,
      "share": 43.3,
      "by_model": [
        {
          "model": "Claude Sonnet 4.6 (Amazon Bedrock Edition)",
          "spend": 135.1355,
          "share_of_profile": 91.2
        },
        {
          "model": "Claude Opus 4.6 (Amazon Bedrock Edition)",
          "spend": 13.016,
          "share_of_profile": 8.8
        }
      ]
    },
    {
      "profile": "investibook-dev",
      "used_by": "investibook-dev",
      "spend": 143.2628,
      "share": 41.9,
      "by_model": [
        {
          "model": "Claude Sonnet 4.6 (Amazon Bedrock Edition)",
          "spend": 143.2628,
          "share_of_profile": 100.0
        }
      ]
    },
    {
      "profile": "investibook-regression",
      "used_by": "investibook-regression",
      "spend": 22.1868,
      "share": 6.5,
      "by_model": [
        {
          "model": "Claude Sonnet 4.6 (Amazon Bedrock Edition)",
          "spend": 22.1868,
          "share_of_profile": 100.0
        }
      ]
    },
    {
      "profile": "investibook-autofix",
      "used_by": "investibook-autofix",
      "spend": 16.5548,
      "share": 4.8,
      "by_model": [
        {
          "model": "Claude Sonnet 4.6 (Amazon Bedrock Edition)",
          "spend": 16.5548,
          "share_of_profile": 100.0
        }
      ]
    },
    {
      "profile": "clinic",
      "used_by": "clinic",
      "spend": 12.0618,
      "share": 3.5,
      "by_model": [
        {
          "model": "Claude Sonnet 4.6 (Amazon Bedrock Edition)",
          "spend": 12.0618,
          "share_of_profile": 100.0
        }
      ]
    },
    {
      "profile": "(unallocated)",
      "used_by": "(unallocated)",
      "spend": 0.001,
      "share": 0.0,
      "by_model": [
        {
          "model": "Claude Opus 4.6 (Amazon Bedrock Edition)",
          "spend": 0.0006,
          "share_of_profile": 55.5
        },
        {
          "model": "Claude Sonnet 4.5 (Amazon Bedrock Edition)",
          "spend": 0.0003,
          "share_of_profile": 33.4
        },
        {
          "model": "Claude Haiku 4.5 (Amazon Bedrock Edition)",
          "spend": 0.0001,
          "share_of_profile": 11.1
        }
      ]
    }
  ],
  "daily_series": [
    {
      "date": "2026-09-01",
      "spend": 80.584
    },
    {
      "date": "2026-09-02",
      "spend": 47.5057
    },
    {
      "date": "2026-09-03",
      "spend": 51.1729
    },
    {
      "date": "2026-09-04",
      "spend": 125.1425
    },
    {
      "date": "2026-09-05",
      "spend": 7.8156
    },
    {
      "date": "2026-09-06",
      "spend": 29.9979
    }
  ],
  "charts": {
    "profile_spend_stack": [
      {
        "profile": "AIOPS",
        "used_by": "AIOPS",
        "spend": 148.1515,
        "share": 43.3
      },
      {
        "profile": "investibook-dev",
        "used_by": "investibook-dev",
        "spend": 143.2628,
        "share": 41.9
      },
      {
        "profile": "investibook-regression",
        "used_by": "investibook-regression",
        "spend": 22.1868,
        "share": 6.5
      },
      {
        "profile": "investibook-autofix",
        "used_by": "investibook-autofix",
        "spend": 16.5548,
        "share": 4.8
      },
      {
        "profile": "clinic",
        "used_by": "clinic",
        "spend": 12.0618,
        "share": 3.5
      },
      {
        "profile": "(unallocated)",
        "used_by": "(unallocated)",
        "spend": 0.001,
        "share": 0.0
      }
    ]
  }
}
