HUD · Schema

SpendLimitItem

One limit with its current spend-window total. API-key and membership limits use their corresponding ID. Team limits have neither; percentage alerts additionally identify their parent team limit. ``period_start`` is the window opening (calendar start or last reset); ``period_end`` is the next calendar boundary.

CompanyArtificial IntelligenceReinforcement LearningAI EvaluationAI AgentsBenchmarksMachine LearningTraining Data

Properties

Name Type Description
id string
api_key_id object
api_key_name object
membership_id object
member_name object
parent_limit_id object
threshold_percent object
interval object
amount_usd string
action object
enabled boolean
spend_usd string
period_start string
period_end string
reset_at object
editable boolean
View JSON Schema on GitHub

JSON Schema

hud-ai-spend-limit-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hud-ai/json-schema/hud-ai-spend-limit-item-schema.json",
  "title": "SpendLimitItem",
  "description": "One limit with its current spend-window total.\n\nAPI-key and membership limits use their corresponding ID. Team limits have\nneither; percentage alerts additionally identify their parent team limit.\n``period_start`` is the window opening (calendar start or last reset);\n``period_end`` is the next calendar boundary.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hud-ai-limits-api-openapi.yml#/components/schemas/SpendLimitItem",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "api_key_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Api Key Id"
    },
    "api_key_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Api Key Name"
    },
    "membership_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Membership Id"
    },
    "member_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Member Name"
    },
    "parent_limit_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Limit Id"
    },
    "threshold_percent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Threshold Percent"
    },
    "interval": {
      "$ref": "#/$defs/SpendInterval"
    },
    "amount_usd": {
      "type": "string",
      "title": "Amount Usd"
    },
    "action": {
      "$ref": "#/$defs/SpendLimitAction"
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled"
    },
    "spend_usd": {
      "type": "string",
      "title": "Spend Usd"
    },
    "period_start": {
      "type": "string",
      "title": "Period Start"
    },
    "period_end": {
      "type": "string",
      "title": "Period End"
    },
    "reset_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reset At"
    },
    "editable": {
      "type": "boolean",
      "title": "Editable"
    }
  },
  "type": "object",
  "required": [
    "id",
    "api_key_id",
    "api_key_name",
    "membership_id",
    "member_name",
    "parent_limit_id",
    "threshold_percent",
    "interval",
    "amount_usd",
    "action",
    "enabled",
    "spend_usd",
    "period_start",
    "period_end",
    "reset_at",
    "editable"
  ],
  "$defs": {
    "SpendInterval": {
      "type": "string",
      "enum": [
        "week",
        "month"
      ],
      "title": "SpendInterval"
    },
    "SpendLimitAction": {
      "type": "string",
      "enum": [
        "alert",
        "block"
      ],
      "title": "SpendLimitAction"
    }
  }
}

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/hud-ai-spend-limit-item"
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.