huggingbay-xyz · Schema

StripeCreditUsagePage

Artificial IntelligenceOpen SourceModelsPlatformMachine Learning

Properties

Name Type Description
object string
data array
has_more boolean
next_cursor object
remaining_balance object
cumulative_usage object
credit_unit string
View JSON Schema on GitHub

JSON Schema

huggingbay-xyz-stripe-credit-usage-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-stripe-credit-usage-page-schema.json",
  "title": "StripeCreditUsagePage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/huggingbay-xyz-billing-api-openapi.yml#/components/schemas/StripeCreditUsagePage",
  "properties": {
    "object": {
      "type": "string",
      "const": "list",
      "title": "Object"
    },
    "data": {
      "items": {
        "$ref": "#/$defs/StripeCreditUsageReceipt"
      },
      "type": "array",
      "title": "Data"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor"
    },
    "remaining_balance": {
      "$ref": "#/$defs/StripeCreditUsageBalance"
    },
    "cumulative_usage": {
      "$ref": "#/$defs/StripeCumulativeUsage"
    },
    "credit_unit": {
      "type": "string",
      "title": "Credit Unit"
    }
  },
  "type": "object",
  "required": [
    "object",
    "data",
    "has_more",
    "next_cursor",
    "remaining_balance",
    "cumulative_usage",
    "credit_unit"
  ],
  "$defs": {
    "StripeCreditUsageBalance": {
      "properties": {
        "available_credits": {
          "type": "integer",
          "title": "Available Credits"
        },
        "reserved_credits": {
          "type": "integer",
          "title": "Reserved Credits"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "updated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "available_credits",
        "reserved_credits",
        "status",
        "updated_at"
      ],
      "title": "StripeCreditUsageBalance"
    },
    "StripeCreditUsageReceipt": {
      "properties": {
        "receipt_id": {
          "type": "string",
          "title": "Receipt Id"
        },
        "usage_id": {
          "type": "string",
          "title": "Usage Id"
        },
        "committed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Committed At"
        },
        "credits_charged": {
          "type": "integer",
          "title": "Credits Charged"
        },
        "remaining_credits": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Remaining Credits"
        },
        "served_model": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Served Model"
        },
        "total_tokens": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Total Tokens"
        }
      },
      "type": "object",
      "required": [
        "receipt_id",
        "usage_id",
        "committed_at",
        "credits_charged",
        "remaining_credits",
        "served_model",
        "total_tokens"
      ],
      "title": "StripeCreditUsageReceipt"
    },
    "StripeCumulativeUsage": {
      "properties": {
        "scope": {
          "type": "string",
          "const": "durable-committed-credit-receipts",
          "title": "Scope"
        },
        "requests": {
          "type": "integer",
          "title": "Requests"
        },
        "credits_charged": {
          "type": "integer",
          "title": "Credits Charged"
        },
        "total_tokens": {
          "type": "integer",
          "title": "Total Tokens"
        },
        "illustrative_estimated_cost_usd": {
          "type": "number",
          "title": "Illustrative Estimated Cost Usd"
        }
      },
      "type": "object",
      "required": [
        "scope",
        "requests",
        "credits_charged",
        "total_tokens",
        "illustrative_estimated_cost_usd"
      ],
      "title": "StripeCumulativeUsage"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/huggingbay-xyz-stripe-credit-usage-page"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.