Unkey · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Unkey Keys API

16 actions 16 updates phrasing extends openapi/unkey-keys-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Unkey's API. It is a proposal applied on top of the contract, not a document Unkey publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 16

$.info
$.paths['/v2/keys.addPermissions'].post
$.paths['/v2/keys.addRoles'].post
$.paths['/v2/keys.createKey'].post
$.paths['/v2/keys.deleteKey'].post
$.paths['/v2/keys.getKey'].post
$.paths['/v2/keys.migrateKeys'].post
$.paths['/v2/keys.removePermissions'].post
$.paths['/v2/keys.removeRoles'].post
$.paths['/v2/keys.rerollKey'].post
$.paths['/v2/keys.setPermissions'].post
$.paths['/v2/keys.setRoles'].post
$.paths['/v2/keys.updateCredits'].post
$.paths['/v2/keys.updateKey'].post
$.paths['/v2/keys.verifyKey'].post
$.paths['/v2/keys.whoami'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Unkey Keys API
  version: 1.0.0
extends: openapi/unkey-keys-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 15
- target: $.paths['/v2/keys.addPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Add permissions to an API key
      effect: write
      questions:
      - How do I grant an existing key an extra permission without touching its roles?
      - Can I upgrade a key's permissions through the API?
      instructions:
      - text: Add permissions {permissions} to key {keyId}.
        slots:
          permissions: requestBody.permissions
          keyId: requestBody.keyId
      - text: Grant key {keyId} the permission {permissions} for a privilege upgrade.
        slots:
          keyId: requestBody.keyId
          permissions: requestBody.permissions
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.addRoles'].post
  update:
    x-apievangelist-phrasing:
      intent: Add roles to an API key
      effect: write
      questions:
      - How do I attach a role to an existing key?
      - Can I give a key a new role without changing its direct permissions?
      instructions:
      - text: Add roles {roles} to key {keyId}.
        slots:
          roles: requestBody.roles
          keyId: requestBody.keyId
      - text: Attach role {roles} to key {keyId} for a feature set.
        slots:
          roles: requestBody.roles
          keyId: requestBody.keyId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.createKey'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an API key
      effect: write
      questions:
      - How do I generate a new API key for a user?
      - Can I create a key with a specific prefix, rate limit and expiry?
      instructions:
      - text: Create a key for API {apiId}.
        slots:
          apiId: requestBody.apiId
      - text: Create key {name} for API {apiId} with prefix {prefix}.
        slots:
          name: requestBody.name
          apiId: requestBody.apiId
          prefix: requestBody.prefix
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.deleteKey'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete an API key
      effect: destructive
      questions:
      - How do I permanently remove an API key?
      - Can I delete a key without a soft delete first?
      instructions:
      - text: Delete key {keyId}.
        slots:
          keyId: requestBody.keyId
      - text: Permanently delete key {keyId} with permanent set to {permanent}.
        slots:
          keyId: requestBody.keyId
          permanent: requestBody.permanent
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.getKey'].post
  update:
    x-apievangelist-phrasing:
      intent: Get an API key's details
      effect: read
      questions:
      - What permissions and roles does a given key have?
      - Can I recover the plaintext value of a key I created as recoverable?
      instructions:
      - text: Get key {keyId}.
        slots:
          keyId: requestBody.keyId
      - text: Show key {keyId} with decrypt set to {decrypt}.
        slots:
          keyId: requestBody.keyId
          decrypt: requestBody.decrypt
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.migrateKeys'].post
  update:
    x-apievangelist-phrasing:
      intent: Migrate keys into an API
      effect: write
      questions:
      - How do I move keys from my old system into an API?
      - Can I migrate several keys into a new API at once?
      instructions:
      - text: Migrate keys {keys} into API {apiId} using migration {migrationId}.
        slots:
          keys: requestBody.keys
          apiId: requestBody.apiId
          migrationId: requestBody.migrationId
      - text: Insert keys {keys} into API {apiId} via migration {migrationId}.
        slots:
          keys: requestBody.keys
          apiId: requestBody.apiId
          migrationId: requestBody.migrationId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.removePermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Remove permissions from an API key
      effect: write
      questions:
      - How do I take a permission away from a key?
      - Can I revoke a single permission without touching the key's roles?
      instructions:
      - text: Remove permissions {permissions} from key {keyId}.
        slots:
          permissions: requestBody.permissions
          keyId: requestBody.keyId
      - text: Revoke permission {permissions} on key {keyId}.
        slots:
          permissions: requestBody.permissions
          keyId: requestBody.keyId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.removeRoles'].post
  update:
    x-apievangelist-phrasing:
      intent: Remove roles from an API key
      effect: write
      questions:
      - How do I detach a role from a key?
      - Can I strip a role without affecting the key's direct permissions?
      instructions:
      - text: Remove roles {roles} from key {keyId}.
        slots:
          roles: requestBody.roles
          keyId: requestBody.keyId
      - text: Detach role {roles} from key {keyId}.
        slots:
          roles: requestBody.roles
          keyId: requestBody.keyId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.rerollKey'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a new key from an existing one
      effect: write
      questions:
      - How do I rotate a key to a new token while keeping its settings?
      - Can I set an expiration on the original key when rerolling?
      instructions:
      - text: Reroll key {keyId} with expiration {expiration}.
        slots:
          keyId: requestBody.keyId
          expiration: requestBody.expiration
      - text: Rotate key {keyId} so the original is revoked after {expiration}.
        slots:
          keyId: requestBody.keyId
          expiration: requestBody.expiration
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.setPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Replace all permissions on a key
      effect: write
      questions:
      - How do I reset a key's permissions to a known set?
      - Can I overwrite every direct permission on a key in one call?
      instructions:
      - text: Set permissions {permissions} on key {keyId}.
        slots:
          permissions: requestBody.permissions
          keyId: requestBody.keyId
      - text: Replace all direct permissions on key {keyId} with {permissions}.
        slots:
          keyId: requestBody.keyId
          permissions: requestBody.permissions
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.setRoles'].post
  update:
    x-apievangelist-phrasing:
      intent: Replace all roles on a key
      effect: write
      questions:
      - How do I replace every role on a key with a new list?
      - Can I reset a key's roles to a known state atomically?
      instructions:
      - text: Set roles {roles} on key {keyId}.
        slots:
          roles: requestBody.roles
          keyId: requestBody.keyId
      - text: Replace all roles on key {keyId} with {roles}.
        slots:
          keyId: requestBody.keyId
          roles: requestBody.roles
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.updateCredits'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a key's credit quota
      effect: write
      questions:
      - How do I top up a key's credit balance?
      - Can I set a key's credits to unlimited?
      instructions:
      - text: Update key {keyId} credits with operation {operation} and value {value}.
        slots:
          keyId: requestBody.keyId
          operation: requestBody.operation
          value: requestBody.value
      - text: Set key {keyId} credits to {value} using operation {operation}.
        slots:
          keyId: requestBody.keyId
          value: requestBody.value
          operation: requestBody.operation
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.updateKey'].post
  update:
    x-apievangelist-phrasing:
      intent: Update an API key's settings
      effect: write
      questions:
      - How do I rename an existing key or change its rate limits?
      - Can I disable a key without deleting it?
      instructions:
      - text: Update key {keyId} with name {name}.
        slots:
          keyId: requestBody.keyId
          name: requestBody.name
      - text: Set key {keyId} enabled to {enabled}.
        slots:
          keyId: requestBody.keyId
          enabled: requestBody.enabled
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.verifyKey'].post
  update:
    x-apievangelist-phrasing:
      intent: Verify an API key
      effect: read
      questions:
      - How do I check that an incoming API key is valid and has a permission?
      - Can I consume credits while verifying a key?
      instructions:
      - text: Verify key {key}.
        slots:
          key: requestBody.key
      - text: Verify key {key} with permission {permissions} and consume {credits} credits.
        slots:
          key: requestBody.key
          permissions: requestBody.permissions
          credits: requestBody.credits
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/keys.whoami'].post
  update:
    x-apievangelist-phrasing:
      intent: Identify the key behind a hash
      effect: read
      questions:
      - What key does this hash belong to?
      - Can I look up an API key by its hash?
      instructions:
      - text: Who am I with key {key}.
        slots:
          key: requestBody.key
      - text: Look up the key hash {key}.
        slots:
          key: requestBody.key
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/unkey-keys-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.