Keycloak · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Keycloak Admin REST Protocol Mappers API
22 actions
22 updates
phrasing
extends
openapi/keycloak-protocol-mappers-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Keycloak's API. It is a proposal applied on top of the contract, not a document Keycloak publishes.
What the actions change
x-apievangelist-phrasing
Targets 22 · first 16 shown; the file carries all of them
$.info
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models'].post
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models'].get
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models'].post
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}'].get
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}'].put
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}'].delete
$.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol}'].get
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models'].post
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models'].get
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models'].post
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}'].get
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}'].put
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}'].delete
$.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol}'].get
$.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Keycloak Admin REST Protocol Mappers API
version: 1.0.0
extends: openapi/keycloak-protocol-mappers-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 21
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models'].post
update:
x-apievangelist-phrasing:
intent: Create several mappers on a client scope
effect: write
questions:
- How do I bulk-add protocol mappers to a client scope?
- Can I add multiple mappers to a client scope in one request?
instructions:
- text: Create multiple mappers on client scope {client_scope_id} in realm {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
- text: Bulk-add these protocol mapper models to client scope {client_scope_id} of {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models'].get
update:
x-apievangelist-phrasing:
intent: List mappers on a client scope
effect: read
questions:
- What protocol mappers are attached to a client scope?
- Can I see all mappers defined on a client scope?
instructions:
- text: List the mappers on client scope {client_scope_id} in realm {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
- text: Show every protocol mapper defined on client scope {client_scope_id} of {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models'].post
update:
x-apievangelist-phrasing:
intent: Create a mapper on a client scope
effect: write
questions:
- How do I add a single protocol mapper to a client scope?
- Can I set consent text and config when adding a mapper to a client scope?
instructions:
- text: Create a {protocol_mapper} mapper named {name} on client scope {client_scope_id} in {realm}.
slots:
protocol_mapper: requestBody.protocolMapper
name: requestBody.name
client_scope_id: path.client-scope-id
realm: path.realm
- text: Add a new protocol mapper {name} to client scope {client_scope_id} of {realm} with config {config}.
slots:
name: requestBody.name
client_scope_id: path.client-scope-id
realm: path.realm
config: requestBody.config
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a mapper on a client scope
effect: read
questions:
- How do I read one protocol mapper from a client scope?
- What config does a specific mapper on a client scope have?
instructions:
- text: Get mapper {id} on client scope {client_scope_id} in realm {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
- text: Show the settings of protocol mapper {id} attached to client scope {client_scope_id} of {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a mapper on a client scope
effect: write
questions:
- How do I change the config of a mapper on a client scope?
- Can I rename a protocol mapper attached to a client scope?
instructions:
- text: Update mapper {id} on client scope {client_scope_id} in realm {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
- text: Change the config of existing mapper {id} on client scope {client_scope_id} of {realm} to {config}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
config: requestBody.config
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a mapper from a client scope
effect: destructive
questions:
- How do I remove a protocol mapper from a client scope?
- Can I delete one mapper from a client scope by id?
instructions:
- text: Delete mapper {id} from client scope {client_scope_id} in realm {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
- text: Remove protocol mapper {id} from client scope {client_scope_id} of {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol}'].get
update:
x-apievangelist-phrasing:
intent: List a client scope's protocol mappers
effect: read
questions:
- Which protocol mappers are configured on a client scope?
- Can I see a client scope's mappers for one protocol?
instructions:
- text: List protocol mappers on client scope {client_scope} in realm {realm} for {protocol}.
slots:
client_scope: path.client-scope-id
realm: path.realm
protocol: path.protocol
- text: Show the mappers of scope {client_scope} for protocol {protocol}.
slots:
client_scope: path.client-scope-id
protocol: path.protocol
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models'].post
update:
x-apievangelist-phrasing:
intent: Create several mappers on a client template
effect: write
questions:
- How do I bulk-add protocol mappers to a client template?
- Can I add many mappers to a client template at once?
instructions:
- text: Create multiple mappers on client template {client_scope_id} in realm {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
- text: Bulk-add these protocol mapper models to client template {client_scope_id} of {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models'].get
update:
x-apievangelist-phrasing:
intent: List mappers on a client template
effect: read
questions:
- What protocol mappers are defined on a client template?
- Can I see all mappers on a client template?
instructions:
- text: List the mappers on client template {client_scope_id} in realm {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
- text: Show every protocol mapper defined on client template {client_scope_id} of {realm}.
slots:
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models'].post
update:
x-apievangelist-phrasing:
intent: Create a mapper on a client template
effect: write
questions:
- How do I add a single protocol mapper to a client template?
- Can I set consent text when adding a mapper to a client template?
instructions:
- text: Create a {protocol_mapper} mapper named {name} on client template {client_scope_id} in {realm}.
slots:
protocol_mapper: requestBody.protocolMapper
name: requestBody.name
client_scope_id: path.client-scope-id
realm: path.realm
- text: Add a new protocol mapper {name} to client template {client_scope_id} of {realm} with config {config}.
slots:
name: requestBody.name
client_scope_id: path.client-scope-id
realm: path.realm
config: requestBody.config
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a mapper on a client template
effect: read
questions:
- How do I read one protocol mapper from a client template?
- What config does a specific mapper on a client template have?
instructions:
- text: Get mapper {id} on client template {client_scope_id} in realm {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
- text: Show the settings of protocol mapper {id} attached to client template {client_scope_id} of {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a mapper on a client template
effect: write
questions:
- How do I change the config of a mapper on a client template?
- Can I rename a protocol mapper attached to a client template?
instructions:
- text: Update mapper {id} on client template {client_scope_id} in realm {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
- text: Change the config of existing mapper {id} on client template {client_scope_id} of {realm} to {config}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
config: requestBody.config
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a mapper from a client template
effect: destructive
questions:
- How do I remove a protocol mapper from a client template?
- Can I delete one mapper from a client template by id?
instructions:
- text: Delete mapper {id} from client template {client_scope_id} in realm {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
- text: Remove protocol mapper {id} from client template {client_scope_id} of {realm}.
slots:
id: path.id
client_scope_id: path.client-scope-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol}'].get
update:
x-apievangelist-phrasing:
intent: List a client template's protocol mappers
effect: read
questions:
- Which mappers appear on a client template for a protocol?
- Can I list a client template's protocol mappers?
instructions:
- text: List protocol mappers on client template {client_scope} in realm {realm} for {protocol}.
slots:
client_scope: path.client-scope-id
realm: path.realm
protocol: path.protocol
- text: Show the mappers of template {client_scope} for protocol {protocol}.
slots:
client_scope: path.client-scope-id
protocol: path.protocol
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models'].post
update:
x-apievangelist-phrasing:
intent: Create several mappers on a client at once
effect: write
questions:
- Can I create many protocol mappers on a single client in one call?
- Is there a bulk add of mappers for a client?
instructions:
- text: Create these mappers on client {client} in realm {realm} in one request.
slots:
client: path.client-uuid
realm: path.realm
- text: Bulk-add the mappers to client {client}.
slots:
client: path.client-uuid
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models'].get
update:
x-apievangelist-phrasing:
intent: List the protocol mappers on a client
effect: read
questions:
- What protocol mappers has a particular client got?
- Which mappers are attached to a client?
instructions:
- text: List all protocol mappers on client {client} in realm {realm}.
slots:
client: path.client-uuid
realm: path.realm
- text: Show every mapper attached to client {client}.
slots:
client: path.client-uuid
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models'].post
update:
x-apievangelist-phrasing:
intent: Create a protocol mapper on a client
effect: write
questions:
- How do I map an external claim onto a Keycloak user attribute?
- Can I add a single mapper to a client with a type and config?
instructions:
- text: Create a {protocol} mapper {name} on client {client} in realm {realm} using {mapper_type}.
slots:
protocol: requestBody.protocol
name: requestBody.name
client: path.client-uuid
realm: path.realm
mapper_type: requestBody.protocolMapper
- text: 'Add a mapper to client {client}: {name}, type {mapper_type}, config {config}.'
slots:
client: path.client-uuid
name: requestBody.name
mapper_type: requestBody.protocolMapper
config: requestBody.config
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get one protocol mapper on a client
effect: read
questions:
- What type and config does a specific client mapper have?
- Can I fetch a single per-client protocol mapper?
instructions:
- text: Get protocol mapper {id} on client {client} in realm {realm}.
slots:
id: path.id
client: path.client-uuid
realm: path.realm
- text: Show the details of mapper {id} on client {client}.
slots:
id: path.id
client: path.client-uuid
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a client protocol mapper
effect: write
questions:
- Can I change the config of a client mapper after it's created?
- How do I rename a per-client protocol mapper?
instructions:
- text: Update protocol mapper {id} on client {client} in realm {realm} with new config {config}.
slots:
id: path.id
client: path.client-uuid
realm: path.realm
config: requestBody.config
- text: Rename per-client mapper {id} on client {client} in realm {realm} to {name}.
slots:
id: path.id
client: path.client-uuid
realm: path.realm
name: requestBody.name
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a client protocol mapper
effect: destructive
questions:
- Can I remove a mapper from a client?
- What happens to claims when a client-level mapper is deleted?
instructions:
- text: Delete protocol mapper {id} from client {client} in realm {realm}.
slots:
id: path.id
client: path.client-uuid
realm: path.realm
- text: Remove per-client mapper {id} on client {client}.
slots:
id: path.id
client: path.client-uuid
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/protocol/{protocol}'].get
update:
x-apievangelist-phrasing:
intent: List a client's mappers for one protocol
effect: read
questions:
- Which mappers on a specific client apply to just one protocol like openid-connect or saml?
- Can I filter a client's own protocol mappers down to a single protocol?
instructions:
- text: Show the {protocol} mappers directly on client {client} in realm {realm}.
slots:
protocol: path.protocol
client: path.client-uuid
realm: path.realm
- text: Get only the {protocol} protocol mappers for client UUID {client} in {realm}.
slots:
protocol: path.protocol
client: path.client-uuid
realm: path.realm
method: generated
generated: '2026-11-16'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/keycloak-protocol-mappers-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.