Forge · Schema

ForgeLLMGatewayBudgetCreateRequest

Independent optional limit. All matching budgets apply cumulatively across providers and keys. Access assignments do not create budgets.

Artificial IntelligenceGovernanceSecurityEnterpriseAgents

Properties

Name Type Description
accessProfileId string Optional profile filter; omission applies across access profiles.
tokenId string
subjectKind object
subjectId string
budgetWindow object
amountUsd number
inputTokenLimit integer
outputTokenLimit integer
totalTokenLimit integer
action string
metadata object
View JSON Schema on GitHub

JSON Schema

forge-forge-llmgateway-budget-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forge/json-schema/forge-forge-llmgateway-budget-create-request-schema.json",
  "title": "ForgeLLMGatewayBudgetCreateRequest",
  "description": "Independent optional limit. All matching budgets apply cumulatively across providers and keys. Access assignments do not create budgets.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forge-openapi.yaml#/components/schemas/ForgeLLMGatewayBudgetCreateRequest",
  "type": "object",
  "properties": {
    "accessProfileId": {
      "type": "string",
      "description": "Optional profile filter; omission applies across access profiles."
    },
    "tokenId": {
      "type": "string"
    },
    "subjectKind": {
      "$ref": "#/$defs/ForgeLLMGatewaySubjectKind"
    },
    "subjectId": {
      "type": "string"
    },
    "budgetWindow": {
      "$ref": "#/$defs/ForgeLLMGatewayBudgetWindow"
    },
    "amountUsd": {
      "type": "number",
      "format": "double",
      "minimum": 1e-06,
      "maximum": 1000000000000,
      "exclusiveMaximum": true
    },
    "inputTokenLimit": {
      "type": "integer",
      "format": "int64",
      "minimum": 1
    },
    "outputTokenLimit": {
      "type": "integer",
      "format": "int64",
      "minimum": 1
    },
    "totalTokenLimit": {
      "type": "integer",
      "format": "int64",
      "minimum": 1
    },
    "action": {
      "type": "string",
      "enum": [
        "block"
      ]
    },
    "metadata": {
      "$ref": "#/$defs/ForgeLLMGatewayBudgetWriteMetadata"
    }
  },
  "$defs": {
    "ForgeLLMGatewayBudgetAllowance": {
      "type": "object",
      "required": [
        "amountUsd",
        "windowStart"
      ],
      "properties": {
        "amountUsd": {
          "type": "number",
          "format": "double",
          "minimum": 1e-06,
          "maximum": 1000000000000,
          "exclusiveMaximum": true
        },
        "windowStart": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "ForgeLLMGatewayBudgetWindow": {
      "type": "string",
      "enum": [
        "daily",
        "weekly",
        "monthly",
        "rolling_24h",
        "rolling_7d",
        "rolling_30d"
      ]
    },
    "ForgeLLMGatewayBudgetWriteMetadata": {
      "type": "object",
      "additionalProperties": false,
      "description": "Accepted budget settings. Unknown keys are rejected. Server-owned fields may be returned unchanged on update; use allowanceUsd to change allowances.",
      "properties": {
        "memberLimitUsd": {
          "type": "number",
          "format": "double",
          "minimum": 1e-06,
          "maximum": 1000000000000,
          "exclusiveMaximum": true
        },
        "memberLimitsUsd": {
          "type": "object",
          "additionalProperties": {
            "type": "number",
            "format": "double",
            "minimum": 1e-06,
            "maximum": 1000000000000,
            "exclusiveMaximum": true
          }
        },
        "allowance": {
          "$ref": "#/$defs/ForgeLLMGatewayBudgetAllowance"
        },
        "memberAllowances": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ForgeLLMGatewayBudgetAllowance"
          }
        },
        "memberOfBudget": {
          "type": "string"
        },
        "memberGroupId": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "quotaResetWindow": {
          "type": "string"
        },
        "discountSource": {
          "type": "string"
        },
        "managedAccessOverride": {},
        "managedDeveloperOrganizationDefault": {},
        "softBudgetUsd": {
          "type": "number",
          "format": "double"
        },
        "softBudgetAlertEmails": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warningThresholds": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "negotiatedDiscountPercent": {
          "type": "number",
          "format": "double"
        },
        "costMultiplier": {
          "type": "number",
          "format": "double"
        },
        "warning_thresholds": {
          "x-go-name": "LegacyWarningThresholds",
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "negotiated_discount_percent": {
          "x-go-name": "LegacyNegotiatedDiscountPercent",
          "type": "number",
          "format": "double"
        },
        "cost_multiplier": {
          "x-go-name": "LegacyCostMultiplier",
          "type": "number",
          "format": "double"
        }
      }
    },
    "ForgeLLMGatewaySubjectKind": {
      "type": "string",
      "enum": [
        "user",
        "group",
        "app",
        "agent",
        "service_account",
        "customer_tenant"
      ]
    }
  }
}

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/forge-forge-llmgateway-budget-create-request"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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