Unkey · Schema
V2KeysGetKeyRequestBody
APIKeysRate LimitingAuthenticationDeveloper PlatformAccess ControlIdentityAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| keyId | string | Specifies which key to retrieve using the database identifier returned from `keys.createKey`. Do not confuse this with the actual API key string that users include in requests. Key data includes metad |
| decrypt | boolean | Controls whether to include the plaintext key value in the response for recovery purposes. Only works for keys created with `recoverable=true` and requires the `decrypt_key` permission. Returned keys |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/V2KeysGetKeyRequestBody",
"title": "V2KeysGetKeyRequestBody",
"type": "object",
"properties": {
"keyId": {
"type": "string",
"minLength": 3,
"maxLength": 255,
"pattern": "^[a-zA-Z0-9_]+$",
"description": "Specifies which key to retrieve using the database identifier returned from `keys.createKey`.\nDo not confuse this with the actual API key string that users include in requests.\nKey data includes metadata, permissions, usage statistics, and configuration but never the plaintext key value unless `decrypt=true`.\nFind this ID in creation responses, key listings, dashboard, or verification responses.\n",
"example": "key_1234abcd"
},
"decrypt": {
"type": "boolean",
"default": false,
"description": "Controls whether to include the plaintext key value in the response for recovery purposes.\nOnly works for keys created with `recoverable=true` and requires the `decrypt_key` permission.\nReturned keys must be handled securely, never logged, cached, or stored insecurely.\n\nUse only for legitimate recovery scenarios like user password resets or emergency access.\nMost applications should keep this false to maintain security best practices and avoid accidental key exposure.\nDecryption requests are audited and may trigger security alerts in enterprise environments.\n"
}
},
"additionalProperties": false,
"required": [
"keyId"
]
}
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-v2keysgetkeyrequestbody"
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.