{
  "opencollection": "1.0.0",
  "info": {
    "name": "helicone-api Agent Credits API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Credits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GetCreditsBalance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.helicone.ai/v1/credits/balance",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "ListTokenUsagePayments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.helicone.ai/v1/credits/payments",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "GetTotalSpend",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.helicone.ai/v1/credits/totalSpend",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "GetSpendBreakdown",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.helicone.ai/v1/credits/spend/breakdown",
            "params": [
              {
                "name": "timeRange",
                "value": "",
                "type": "query"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "ListInvoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.helicone.ai/v1/credits/invoices",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        },
        {
          "info": {
            "name": "GetDiscounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.helicone.ai/v1/credits/discounts",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}