Unkey · Schema
KeyCreditsRefill
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. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/KeyCreditsRefill",
"title": "KeyCreditsRefill",
"type": "object",
"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,
"x-go-type-skip-optional-pointer": true,
"x-go-type-skip-optional-pointer-with-omitzero": true
}
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/unkey-keycreditsrefill"
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 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.