Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| env | string | |
| scopes | array | A subset of the calling key's own scopes |
| daily_budget_usd | number | Hard daily spend cap for this key |
| rpm_limit | integer | |
| tpm_limit | integer | |
| expires_in | string | Key lifetime, e.g. "30d" or "12h" (max 365d) |
| expires_at | string | When the key stops working (ISO 8601, at most 365 days ahead). Use this or expires_in |
| child | boolean | Create a sub-agent key: it records the calling key as its parent and is revoked when the parent is. Keys created by a child key are always children |
| lives_in | string | Where this key is stored, e.g. "vercel:billing-service/production" (display only, max 300 chars) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/scaledthought-com/json-schema/scaledthought-com-create-key-input-schema.json",
"title": "CreateKeyInput",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/scaledthought-com-openapi.json#/components/schemas/CreateKeyInput",
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"env": {
"default": "live",
"type": "string",
"enum": [
"live",
"test"
]
},
"scopes": {
"default": [
"inference",
"read"
],
"description": "A subset of the calling key's own scopes",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"inference",
"read",
"keys",
"billing"
]
}
},
"daily_budget_usd": {
"description": "Hard daily spend cap for this key",
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000000
},
"rpm_limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000
},
"tpm_limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000000
},
"expires_in": {
"description": "Key lifetime, e.g. \"30d\" or \"12h\" (max 365d)",
"type": "string",
"pattern": "^(0|[1-9]\\d{0,5}[smhd])$"
},
"expires_at": {
"description": "When the key stops working (ISO 8601, at most 365 days ahead). Use this or expires_in",
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"child": {
"default": false,
"description": "Create a sub-agent key: it records the calling key as its parent and is revoked when the parent is. Keys created by a child key are always children",
"type": "boolean"
},
"lives_in": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "^[^\\p{C}]+$",
"description": "Where this key is stored, e.g. \"vercel:billing-service/production\" (display only, max 300 chars)"
}
},
"required": [
"name"
]
}
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/scaledthought-com-create-key-input"
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.