Unkey · Schema

UpdateKeyCreditsRefill

Configuration for automatic credit refill behavior.

APIKeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics

Properties

Name Type Description
interval string How often credits are automatically refilled.
amount integer Number of credits to add during each refill cycle.
refillDay integer Day of the month for monthly refills (1-31). Only required when interval is 'monthly'. For days beyond the month's length, refill occurs on the last day of the month.
View JSON Schema on GitHub

JSON Schema

unkey-updatekeycreditsrefill-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateKeyCreditsRefill",
  "title": "UpdateKeyCreditsRefill",
  "type": [
    "object",
    "null"
  ],
  "description": "Configuration for automatic credit refill behavior.",
  "properties": {
    "interval": {
      "type": "string",
      "enum": [
        "daily",
        "monthly"
      ],
      "x-speakeasy-unknown-values": "allow",
      "description": "How often credits are automatically refilled.",
      "example": "daily"
    },
    "amount": {
      "type": "integer",
      "format": "int64",
      "minimum": 1,
      "maximum": 9223372036854776000,
      "description": "Number of credits to add during each refill cycle.",
      "example": 1000
    },
    "refillDay": {
      "type": "integer",
      "minimum": 1,
      "maximum": 31,
      "description": "Day of the month for monthly refills (1-31).\nOnly required when interval is 'monthly'.\nFor days beyond the month's length, refill occurs on the last day of the month.\n",
      "example": 15
    }
  },
  "required": [
    "interval",
    "amount"
  ],
  "additionalProperties": false
}

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/unkey-updatekeycreditsrefill"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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