{
  "repo": "tidbcloud/core-svc",
  "binary": "provider-cost",
  "binary_path": "provider-cost/cmd/main.go",
  "surface_kind": "http_service",
  "type": "http_service",
  "extensions": {
    "notes": [
      "HTTP service that exposes provider cost calculation endpoints backed by BigQuery and eventbus startup wiring."
    ]
  },
  "services": [
    {
      "name": "ProviderCostLifecycle",
      "methods": [
        {
          "name": "Main",
          "name_key": "ProviderCostLifecycle.Main",
          "description": "Bootstraps config, logging, sentry, tracing, and eventbus before serving HTTP."
        }
      ]
    },
    {
      "name": "ProviderCostHTTP",
      "type": "http",
      "methods": [
        {
          "name": "Ping",
          "name_key": "HTTP GET /ping",
          "path": "/ping",
          "method": "GET",
          "description": "Health probe for the provider-cost server."
        },
        {
          "name": "Version",
          "name_key": "HTTP GET /version",
          "path": "/version",
          "method": "GET",
          "description": "Reports build version metadata for the service."
        },
        {
          "name": "ProviderCost",
          "name_key": "HTTP POST /api/v1/provider/cost",
          "path": "/api/v1/provider/cost",
          "method": "POST",
          "description": "Returns provider cost data for the submitted request."
        },
        {
          "name": "ProviderStreamCost",
          "name_key": "HTTP POST /api/v1/provider/stream_cost",
          "path": "/api/v1/provider/stream_cost",
          "method": "POST",
          "description": "Streams provider cost calculation results."
        }
      ]
    }
  ]
}
