{
  "x402Version": 2,
  "id": 3269,
  "slug": "3269",
  "resource": "https://api.craigmbrown.com/v1/services/finops.token-spend-audit",
  "description": "Independent audit of an agent's actual token spend against its budget and declared task scope — surfaces cost overruns or scope creep a counterparty wouldn't otherwise see.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5E709929A4AB69eC3a8811d03417869059BC4EB9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "records": []
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "deliverable_type": "..."
          },
          "type": "json"
        }
      },
      "routeTemplate": "/v1/services/finops.token-spend-audit",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "price_book": {
                    "type": "object"
                  },
                  "records": {
                    "items": {
                      "properties": {
                        "agent": {
                          "type": "string"
                        },
                        "cost_usd": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "input_tokens": {
                          "minimum": 0,
                          "type": "integer"
                        },
                        "max_tokens": {
                          "minimum": 0,
                          "type": "integer"
                        },
                        "model": {
                          "type": "string"
                        },
                        "output_tokens": {
                          "minimum": 0,
                          "type": "integer"
                        },
                        "prompt_sha256": {
                          "type": "string"
                        },
                        "provider": {
                          "type": "string"
                        },
                        "ts": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "ts"
                      ],
                      "type": "object"
                    },
                    "maxItems": 10000,
                    "type": "array"
                  },
                  "thresholds": {
                    "type": "object"
                  },
                  "window_days": {
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "records"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "asserts": {
                    "type": "string"
                  },
                  "assumptions": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "bo_trust": {
                    "type": "object"
                  },
                  "deliverable_type": {
                    "type": "string"
                  },
                  "findings": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "growth": {
                    "type": "object"
                  },
                  "period": {
                    "type": "object"
                  },
                  "projected_monthly_saving_usd": {
                    "type": "number"
                  },
                  "status": {
                    "type": "string"
                  },
                  "totals": {
                    "type": "object"
                  },
                  "verify_recipe": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.craigmbrown.com",
  "lastUpdated": "2026-09-12T17:44:36.883Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-12T17:44:36.625Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.craigmbrown.com",
    "manifest_name": "api.craigmbrown.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}