{
  "analysis_id": "diag_108c3507db7c171b256d2b24",
  "capabilities": {
    "canonical_template_mode": "SUPPORTED",
    "monetary_reconciliation": "SUPPORTED",
    "native_anthropic_cost_report": "SUPPORTED_COMPLETE_PAGE_ONLY",
    "native_anthropic_usage_report": "SUPPORTED_COMPLETE_PAGE_ONLY",
    "native_openai_cost_api": "SUPPORTED_COMPLETE_PAGE_ONLY",
    "native_openai_usage_api": "SUPPORTED_COMPLETE_PAGE_ONLY"
  },
  "claims": {
    "customer_result_claimed": false,
    "external_benchmark_claimed": false,
    "savings_claimed": false
  },
  "classification": "DEMONSTRATION ONLY | SYNTHETIC DATA | NOT CUSTOMER RESULT",
  "coverage": {
    "billing_rows_received": 2,
    "canonical_billing_rows": 2,
    "canonical_usage_rows": 5,
    "exact_duplicate_billing_rows": 0,
    "exact_duplicate_rows": 1,
    "exact_duplicate_usage_rows": 1,
    "usage_rows_received": 6,
    "usage_rows_with_explicit_cost": 6,
    "usage_rows_without_explicit_cost": 0
  },
  "input_files": [
    {
      "endpoint": "customer-normalized-template",
      "fields": [
        "amount_usd",
        "billing_id",
        "currency",
        "organization_id",
        "period_end",
        "period_start",
        "provider"
      ],
      "file_name": "synthetic-anthropic-billing.csv",
      "format": "CSV",
      "kind": "billing",
      "limitations": [
        "Customer-supplied normalized values are not independently repriced."
      ],
      "mappings": [
        "amount_usd<-amount_usd",
        "billing_id<-billing_id",
        "currency<-currency",
        "organization_id<-organization_id",
        "period_end<-period_end",
        "period_start<-period_start",
        "provider<-provider"
      ],
      "pagination_complete": true,
      "row_count": 1,
      "sha256": "64a9c726554f8375b87694b44a1d0f9174de1d786a43d6b11559991d7649db0e",
      "size_bytes": 185,
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": [
        "line_item",
        "model",
        "project_id",
        "workspace_id"
      ]
    },
    {
      "endpoint": "customer-normalized-template",
      "fields": [
        "amount_usd",
        "billing_id",
        "currency",
        "organization_id",
        "period_end",
        "period_start",
        "provider"
      ],
      "file_name": "synthetic-openai-billing.json",
      "format": "JSON",
      "kind": "billing",
      "limitations": [
        "Customer-supplied normalized values are not independently repriced."
      ],
      "mappings": [
        "amount_usd<-amount_usd",
        "billing_id<-billing_id",
        "currency<-currency",
        "organization_id<-organization_id",
        "period_end<-period_end",
        "period_start<-period_start",
        "provider<-provider"
      ],
      "pagination_complete": true,
      "row_count": 1,
      "sha256": "a3d1244bcb8ab0d83c82cc5c144f8ddb385a4fa97a2b019379ba18485503881f",
      "size_bytes": 261,
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": [
        "line_item",
        "model",
        "project_id",
        "workspace_id"
      ]
    },
    {
      "endpoint": "customer-normalized-template",
      "fields": [
        "cost_usd",
        "currency",
        "input_tokens",
        "model",
        "organization_id",
        "output_tokens",
        "provider",
        "record_id",
        "timestamp",
        "workspace_id"
      ],
      "file_name": "synthetic-anthropic-usage.json",
      "format": "JSON",
      "kind": "usage",
      "limitations": [
        "Customer-supplied normalized values are not independently repriced."
      ],
      "mappings": [
        "cost_usd<-cost_usd",
        "currency<-currency",
        "input_tokens<-input_tokens",
        "model<-model",
        "organization_id<-organization_id",
        "output_tokens<-output_tokens",
        "provider<-provider",
        "record_id<-record_id",
        "timestamp<-timestamp",
        "workspace_id<-workspace_id"
      ],
      "pagination_complete": true,
      "row_count": 2,
      "sha256": "56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2",
      "size_bytes": 653,
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": [
        "attempt_number",
        "cached_input_tokens",
        "conversation_id",
        "project_id",
        "request_count",
        "retry_group_id",
        "sequence_number"
      ]
    },
    {
      "endpoint": "customer-normalized-template",
      "fields": [
        "attempt_number",
        "cached_input_tokens",
        "conversation_id",
        "cost_usd",
        "currency",
        "input_tokens",
        "model",
        "organization_id",
        "output_tokens",
        "project_id",
        "provider",
        "record_id",
        "retry_group_id",
        "sequence_number",
        "timestamp",
        "workspace_id"
      ],
      "file_name": "synthetic-openai-usage.csv",
      "format": "CSV",
      "kind": "usage",
      "limitations": [
        "Customer-supplied normalized values are not independently repriced."
      ],
      "mappings": [
        "attempt_number<-attempt_number",
        "cached_input_tokens<-cached_input_tokens",
        "conversation_id<-conversation_id",
        "cost_usd<-cost_usd",
        "currency<-currency",
        "input_tokens<-input_tokens",
        "model<-model",
        "organization_id<-organization_id",
        "output_tokens<-output_tokens",
        "project_id<-project_id",
        "provider<-provider",
        "record_id<-record_id",
        "retry_group_id<-retry_group_id",
        "sequence_number<-sequence_number",
        "timestamp<-timestamp",
        "workspace_id<-workspace_id"
      ],
      "pagination_complete": true,
      "row_count": 4,
      "sha256": "9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d",
      "size_bytes": 801,
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": [
        "request_count"
      ]
    }
  ],
  "limits_enforced": {
    "combined_input_bytes_maximum": 50000000,
    "combined_output_bytes_maximum": 100000000,
    "period_days_maximum": 31,
    "providers_maximum": 2,
    "rows_maximum": 50000
  },
  "organization_id": "synthetic-org-001",
  "output_files": {
    "action_plan.json": {
      "sha256": "ca3269ac22645299433943c7b40347d7501fc2ae301cb8df41f29266350ea66b",
      "size_bytes": 3583
    },
    "cost_drivers.json": {
      "sha256": "304a65640c1eab8d96c3807b296020355ecefe8b3b8fc4e06d72dbbef9702ed7",
      "size_bytes": 3352
    },
    "executive_report.html": {
      "sha256": "4f9a73575e069c0f146b2236ed1c42aac370e1e7547d113fccef322373f348d0",
      "size_bytes": 16951
    },
    "executive_report.json": {
      "sha256": "3a71e8f8bcb76cf0ba8fc33bcbccbb8f7f3e6d5d4ba77654e68229075018aa0e",
      "size_bytes": 6605
    },
    "methodology.json": {
      "sha256": "c7f1fb8bfac558e2938432c088f613710292cef625edc7276cbaa4a05dfca0cd",
      "size_bytes": 2891
    },
    "normalized_spend.csv": {
      "sha256": "6ae340f25b478736698ca7e2460faad9b5c2f49471d1c81c97f748ebc13cb19e",
      "size_bytes": 2646
    },
    "proof_summary.json": {
      "sha256": "b08fe17d13672d4ff2f9c641d8a797f310d1f52ec67ddfe15fba19a99dd5ef90",
      "size_bytes": 5433
    },
    "reconciliation_workbook.xlsx": {
      "sha256": "c6377d6f8eb0821e1ffc7350b9abcf878fff22d84203e9a1bc79f76ee20654a8",
      "size_bytes": 86552
    },
    "source_mapping.csv": {
      "sha256": "1b226bce83b5feb0165ab014666141eaeef3ee2c04b7229e748ed507228c71d5",
      "size_bytes": 2529
    },
    "variance_register.csv": {
      "sha256": "a2e5bd7f37265b7df3756dfe508eed72224f51e622a652a1eacaccef5ac90d24",
      "size_bytes": 2607
    }
  },
  "schema_version": "llm-spend-diagnostic-v2",
  "scope": {
    "currency": "USD",
    "period_end": "2026-08-01T00:00:00Z",
    "period_start": "2026-07-01T00:00:00Z",
    "providers": [
      "anthropic",
      "openai"
    ]
  },
  "source_mapping": [
    {
      "classification": "DEMONSTRATION ONLY | SYNTHETIC DATA | NOT CUSTOMER RESULT",
      "endpoint": "customer-normalized-template",
      "format": "CSV",
      "kind": "billing",
      "limitations": "Customer-supplied normalized values are not independently repriced.",
      "mapped_fields": "amount_usd<-amount_usd|billing_id<-billing_id|currency<-currency|organization_id<-organization_id|period_end<-period_end|period_start<-period_start|provider<-provider",
      "pagination_complete": "YES",
      "provider": "anthropic",
      "records_mapped": 1,
      "source_file": "synthetic-anthropic-billing.csv",
      "source_file_sha256": "64a9c726554f8375b87694b44a1d0f9174de1d786a43d6b11559991d7649db0e",
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": "line_item|model|project_id|workspace_id"
    },
    {
      "classification": "DEMONSTRATION ONLY | SYNTHETIC DATA | NOT CUSTOMER RESULT",
      "endpoint": "customer-normalized-template",
      "format": "JSON",
      "kind": "billing",
      "limitations": "Customer-supplied normalized values are not independently repriced.",
      "mapped_fields": "amount_usd<-amount_usd|billing_id<-billing_id|currency<-currency|organization_id<-organization_id|period_end<-period_end|period_start<-period_start|provider<-provider",
      "pagination_complete": "YES",
      "provider": "openai",
      "records_mapped": 1,
      "source_file": "synthetic-openai-billing.json",
      "source_file_sha256": "a3d1244bcb8ab0d83c82cc5c144f8ddb385a4fa97a2b019379ba18485503881f",
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": "line_item|model|project_id|workspace_id"
    },
    {
      "classification": "DEMONSTRATION ONLY | SYNTHETIC DATA | NOT CUSTOMER RESULT",
      "endpoint": "customer-normalized-template",
      "format": "JSON",
      "kind": "usage",
      "limitations": "Customer-supplied normalized values are not independently repriced.",
      "mapped_fields": "cost_usd<-cost_usd|currency<-currency|input_tokens<-input_tokens|model<-model|organization_id<-organization_id|output_tokens<-output_tokens|provider<-provider|record_id<-record_id|timestamp<-timestamp|workspace_id<-workspace_id",
      "pagination_complete": "YES",
      "provider": "anthropic",
      "records_mapped": 2,
      "source_file": "synthetic-anthropic-usage.json",
      "source_file_sha256": "56d8291840c442e32b0538c10f713a0d93cd46235152b03cd8960c377ecb92f2",
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": "attempt_number|cached_input_tokens|conversation_id|project_id|request_count|retry_group_id|sequence_number"
    },
    {
      "classification": "DEMONSTRATION ONLY | SYNTHETIC DATA | NOT CUSTOMER RESULT",
      "endpoint": "customer-normalized-template",
      "format": "CSV",
      "kind": "usage",
      "limitations": "Customer-supplied normalized values are not independently repriced.",
      "mapped_fields": "attempt_number<-attempt_number|cached_input_tokens<-cached_input_tokens|conversation_id<-conversation_id|cost_usd<-cost_usd|currency<-currency|input_tokens<-input_tokens|model<-model|organization_id<-organization_id|output_tokens<-output_tokens|project_id<-project_id|provider<-provider|record_id<-record_id|retry_group_id<-retry_group_id|sequence_number<-sequence_number|timestamp<-timestamp|workspace_id<-workspace_id",
      "pagination_complete": "YES",
      "provider": "openai",
      "records_mapped": 4,
      "source_file": "synthetic-openai-usage.csv",
      "source_file_sha256": "9d989497c6bc8f8d4c8ba11ff6462ce328c73af32fa7279d466e7e7a0455c44d",
      "source_schema": "canonical_flat_v1",
      "unavailable_fields": "request_count"
    }
  ]
}
