{
  "opencollection": "1.0.0",
  "info": {
    "name": "API Reference agents costs API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "costs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Submit cost and/or usage data",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.agentpaid.io/api/v1/costs/bulk",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Ingests a batch of cost records. Each record is either a pre-computed `cost` (caller supplies amount + currency) or a `usage` record (caller supplies vendor/model/token counts and Paid prices it server-side). The batch is all-or-nothing: if any record fails validation, the entire request is rejected with a 400 and nothing is persisted."
        }
      ]
    }
  ],
  "bundled": true
}