Unkey · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Unkey Permissions API

9 actions 9 updates phrasing extends openapi/unkey-permissions-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 9

$.info
$.paths['/v2/permissions.createPermission'].post
$.paths['/v2/permissions.createRole'].post
$.paths['/v2/permissions.deletePermission'].post
$.paths['/v2/permissions.deleteRole'].post
$.paths['/v2/permissions.getPermission'].post
$.paths['/v2/permissions.getRole'].post
$.paths['/v2/permissions.listPermissions'].post
$.paths['/v2/permissions.listRoles'].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 Permissions API
  version: 1.0.0
extends: openapi/unkey-permissions-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: 8
- target: $.paths['/v2/permissions.createPermission'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a permission
      effect: write
      questions:
      - How do I define a new action like documents.read in my RBAC system?
      - Can I create a permission with a hierarchical name like admin.users.delete?
      instructions:
      - text: Create permission {name} with slug {slug}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
      - text: Add a permission {name} described as {description}.
        slots:
          name: requestBody.name
          description: requestBody.description
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.createRole'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a role
      effect: write
      questions:
      - How do I group several permissions into a role?
      - Can I create a role like editor or admin for API keys?
      instructions:
      - text: Create role {name}.
        slots:
          name: requestBody.name
      - text: Create role {name} described as {description}.
        slots:
          name: requestBody.name
          description: requestBody.description
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.deletePermission'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete a permission
      effect: destructive
      questions:
      - How do I remove a permission from every API key and role at once?
      - Is deleting a permission permanent?
      instructions:
      - text: Delete permission {permission}.
        slots:
          permission: requestBody.permission
      - text: Remove the {permission} permission from all keys and roles.
        slots:
          permission: requestBody.permission
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.deleteRole'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete a role
      effect: destructive
      questions:
      - How do I delete a role so it stops applying to API keys?
      - Can I delete a role that no keys have assigned?
      instructions:
      - text: Delete role {role}.
        slots:
          role: requestBody.role
      - text: Remove the {role} role from all assigned keys.
        slots:
          role: requestBody.role
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.getPermission'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a permission
      effect: read
      questions:
      - What does a particular permission grant access to?
      - Can I look up a permission by its slug?
      instructions:
      - text: Get permission {permission}.
        slots:
          permission: requestBody.permission
      - text: Show the details of permission {permission}.
        slots:
          permission: requestBody.permission
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.getRole'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a role
      effect: read
      questions:
      - Which permissions are assigned to a given role?
      - Can I fetch a role's details by its name?
      instructions:
      - text: Get role {role}.
        slots:
          role: requestBody.role
      - text: Show the assigned permissions of role {role}.
        slots:
          role: requestBody.role
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.listPermissions'].post
  update:
    x-apievangelist-phrasing:
      intent: List permissions
      effect: read
      questions:
      - Which permissions exist in my workspace?
      - Can I page through all permissions?
      instructions:
      - text: List all permissions.
      - text: List {limit} permissions starting from {cursor}.
        slots:
          limit: requestBody.limit
          cursor: requestBody.cursor
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v2/permissions.listRoles'].post
  update:
    x-apievangelist-phrasing:
      intent: List roles
      effect: read
      questions:
      - What roles are defined in my workspace?
      - Can I page through roles?
      instructions:
      - text: List all roles.
      - text: List {limit} roles starting from {cursor}.
        slots:
          limit: requestBody.limit
          cursor: requestBody.cursor
      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-permissions-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.