Home / Servers / Vercel API / update_api_key_quota

Update an AI Gateway API key budget

An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.

Update an AI Gateway API key budget Set, change, or remove the AI Gateway budget on an API key. Creates the budget if the key does not have one. [PATCH /api-keys/{apiKeyID}/quota]

Name on the gateway: vercel_api__update_api_key_quota · may change things.

Parameters

NameTypeDescription
apiKeyID requiredstringThe ID of the API key whose quota should be updated.
limitAmountnumberThe quota limit amount. Required if the quota does not yet exist.
includeByokInQuotabooleanWhether BYOK (Bring Your Own Key) usage counts against the quota.
refreshPerioddaily | weekly | monthly | noneHow often the quota refreshes.
activebooleanWhether the quota is currently active.
archivedbooleanSet to true to archive (soft-delete) the quota. The api key itself is…
alertThresholdsarraySpend percentages (a subset of [50, 75, 100]) at which to send a spend alert.…
justificationstringWhy the budget is being changed, up to 500 characters. Recorded in the…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "vercel_api__update_api_key_quota",
  "arguments": {
    "apiKeyID": "…"
  }
}

Or connect the Vercel API server directly, which lists 472 tools including this one:

Run in your terminal
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update an ai gateway api key budget tool with apiKeyID set to ….

More from Vercel API