KnoxCall · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for KnoxCall Client Management AI Gateway API

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

What the actions change

x-apievangelist-phrasing

Targets 50 · first 16 shown; the file carries all of them

$.info
$.paths['/ai-gateway/gateways'].get
$.paths['/ai-gateway/gateways'].post
$.paths['/ai-gateway/gateways/{id}'].get
$.paths['/ai-gateway/gateways/{id}'].delete
$.paths['/ai-gateway/gateways/{id}'].patch
$.paths['/ai-gateway/gateways/{gatewayId}/agents'].get
$.paths['/ai-gateway/gateways/{gatewayId}/agents'].post
$.paths['/ai-gateway/agents/{id}'].get
$.paths['/ai-gateway/agents/{id}'].delete
$.paths['/ai-gateway/agents/{id}'].patch
$.paths['/ai-gateway/agents/{agentId}/tokens'].get
$.paths['/ai-gateway/agents/{agentId}/tokens'].post
$.paths['/ai-gateway/agents/{agentId}/tokens/{tokenId}'].delete
$.paths['/ai-gateway/gateways/{gatewayId}/tokens'].get
$.paths['/ai-gateway/gateways/{gatewayId}/tokens/{tokenId}'].delete

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 KnoxCall Client Management AI Gateway API
  version: 1.0.0
extends: openapi/knoxcall-ai-gateway-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 49
- target: $.paths['/ai-gateway/gateways'].get
  update:
    x-apievangelist-phrasing:
      intent: List AI gateways
      effect: read
      questions:
      - Which AI gateways does my tenant have?
      - Can I page through my AI gateways?
      instructions:
      - text: List my AI gateways.
      - text: Show page {page} of AI gateways, {per_page} per page.
        slots:
          page: query.page
          per_page: query.per_page
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an AI gateway
      effect: write
      questions:
      - How do I create a container for my agents?
      - Can I set a daily budget on a new AI gateway?
      instructions:
      - text: Create an AI gateway named {name} with slug {slug}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
      - text: Create gateway {name} ({slug}) with a daily budget of {daily} and monthly budget {monthly}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          daily: requestBody.budget_daily_usd
          monthly: requestBody.budget_monthly_usd
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an AI gateway
      effect: read
      questions:
      - What are the details of one AI gateway?
      - Can I look up a gateway by its ID?
      instructions:
      - text: Show AI gateway {id}.
        slots:
          id: path.id
      - text: Get the details of gateway {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive an AI gateway
      effect: destructive
      questions:
      - Can I archive an AI gateway I no longer use?
      - What happens to a gateway's status when I archive it?
      instructions:
      - text: Archive AI gateway {id}.
        slots:
          id: path.id
      - text: Soft-delete gateway {id} and report its new status.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an AI gateway
      effect: write
      questions:
      - Can I change the daily budget on an existing gateway?
      - Is it possible to rename an AI gateway?
      instructions:
      - text: Rename AI gateway {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Set the daily budget of gateway {id} to {daily}.
        slots:
          id: path.id
          daily: requestBody.budget_daily_usd
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{gatewayId}/agents'].get
  update:
    x-apievangelist-phrasing:
      intent: List the agents under a gateway
      effect: read
      questions:
      - Which agents live under a particular AI gateway?
      - Can I page through the agents of one gateway?
      instructions:
      - text: List the agents under gateway {gatewayId}.
        slots:
          gatewayId: path.gatewayId
      - text: Show page {page} of agents for gateway {gatewayId}, {per_page} per page.
        slots:
          page: query.page
          gatewayId: path.gatewayId
          per_page: query.per_page
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{gatewayId}/agents'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an agent under a gateway
      effect: write
      questions:
      - How do I create an agent that routes through a provider?
      - Can an agent be limited to a list of models?
      instructions:
      - text: Create an agent named {name} with slug {slug} under gateway {gatewayId}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          gatewayId: path.gatewayId
      - text: Create agent {name} ({slug}) under gateway {gatewayId} using provider {provider} and secret {secret}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          gatewayId: path.gatewayId
          provider: requestBody.provider
          secret: requestBody.upstream_secret_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/agents/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an agent
      effect: read
      questions:
      - What are the details of a specific agent?
      - Where is an agent's data-plane URL?
      instructions:
      - text: Show agent {id}.
        slots:
          id: path.id
      - text: Get the details of agent {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/agents/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive an agent
      effect: destructive
      questions:
      - Can I archive an agent?
      - What does archiving an agent return?
      instructions:
      - text: Archive agent {id}.
        slots:
          id: path.id
      - text: Soft-delete agent {id} and report its new status.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/agents/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an agent
      effect: write
      questions:
      - Can I change an agent's default model?
      - Is it possible to set a model allowlist on an existing agent?
      instructions:
      - text: Set agent {id}'s default model to {model}.
        slots:
          id: path.id
          model: requestBody.default_model
      - text: Allow only {allowlist} on agent {id}.
        slots:
          allowlist: requestBody.model_allowlist
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/agents/{agentId}/tokens'].get
  update:
    x-apievangelist-phrasing:
      intent: List an agent's capability tokens
      effect: read
      questions:
      - Which capability tokens does an agent have?
      - Can I page through an agent's tokens?
      instructions:
      - text: List the capability tokens of agent {agentId}.
        slots:
          agentId: path.agentId
      - text: Show page {page} of tokens for agent {agentId}, {per_page} per page.
        slots:
          page: query.page
          agentId: path.agentId
          per_page: query.per_page
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/agents/{agentId}/tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Mint a capability token for an agent
      effect: write
      questions:
      - How do I mint a capability token for an agent?
      - Can a capability token be bound to a DPoP key?
      instructions:
      - text: Mint a capability token for agent {agentId}.
        slots:
          agentId: path.agentId
      - text: Mint a {kind} token named {name} for agent {agentId} that expires in {expires} seconds.
        slots:
          kind: requestBody.kind
          name: requestBody.name
          agentId: path.agentId
          expires: requestBody.expires_in_seconds
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/agents/{agentId}/tokens/{tokenId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke an agent's capability token
      effect: destructive
      questions:
      - Can I revoke a capability token an agent no longer needs?
      - What happens if I revoke a token that's already been revoked?
      instructions:
      - text: Revoke capability token {tokenId} on agent {agentId}.
        slots:
          tokenId: path.tokenId
          agentId: path.agentId
      - text: Revoke token {tokenId} for agent {agentId}.
        slots:
          tokenId: path.tokenId
          agentId: path.agentId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{gatewayId}/tokens'].get
  update:
    x-apievangelist-phrasing:
      intent: List every token under a gateway
      effect: read
      questions:
      - Which capability tokens exist under a gateway, including gateway-level ones?
      - Can I see all tokens a gateway owns?
      instructions:
      - text: List every token under gateway {gatewayId}.
        slots:
          gatewayId: path.gatewayId
      - text: Show page {page} of tokens for gateway {gatewayId}, {per_page} per page.
        slots:
          page: query.page
          gatewayId: path.gatewayId
          per_page: query.per_page
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{gatewayId}/tokens/{tokenId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a token under a gateway
      effect: destructive
      questions:
      - Can I revoke a gateway-level token that has no agent?
      - Which endpoint revokes a token minted by the legacy MCP token endpoint?
      instructions:
      - text: Revoke token {tokenId} under gateway {gatewayId}.
        slots:
          tokenId: path.tokenId
          gatewayId: path.gatewayId
      - text: Revoke gateway-level token {tokenId} for gateway {gatewayId}.
        slots:
          tokenId: path.tokenId
          gatewayId: path.gatewayId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{gatewayId}/mcp-servers'].get
  update:
    x-apievangelist-phrasing:
      intent: List a gateway's MCP servers
      effect: read
      questions:
      - Which MCP servers are registered under a gateway?
      - Can I page through a gateway's MCP servers?
      instructions:
      - text: List the MCP servers under gateway {gatewayId}.
        slots:
          gatewayId: path.gatewayId
      - text: Show page {page} of MCP servers for gateway {gatewayId}, {per_page} per page.
        slots:
          page: query.page
          gatewayId: path.gatewayId
          per_page: query.per_page
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/gateways/{gatewayId}/mcp-servers'].post
  update:
    x-apievangelist-phrasing:
      intent: Register an MCP server under a gateway
      effect: write
      questions:
      - How do I register an upstream MCP server under a gateway?
      - Can an MCP server be authenticated with a KnoxCall secret?
      instructions:
      - text: Register an MCP server named {name} with slug {slug} under gateway {gatewayId} at {upstream_url}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          gatewayId: path.gatewayId
          upstream_url: requestBody.upstream_url
      - text: Register MCP server {name} ({slug}) under gateway {gatewayId} using auth {auth}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          gatewayId: path.gatewayId
          auth: requestBody.auth
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an MCP server
      effect: read
      questions:
      - What are the details of one MCP server?
      - Where is an MCP server's connect URL?
      instructions:
      - text: Show MCP server {id}.
        slots:
          id: path.id
      - text: Get the details of MCP server {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive an MCP server
      effect: destructive
      questions:
      - Can I archive an MCP server?
      - What happens to the data plane when an MCP server is archived?
      instructions:
      - text: Archive MCP server {id}.
        slots:
          id: path.id
      - text: Soft-delete MCP server {id} and stop its data plane.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an MCP server
      effect: write
      questions:
      - Can I change an MCP server's allowed tools?
      - Is it possible to pause an MCP server?
      instructions:
      - text: Set the allowed tools of MCP server {id} to {tools}.
        slots:
          id: path.id
          tools: requestBody.allowed_tools
      - text: Set MCP server {id} to {status}.
        slots:
          id: path.id
          status: requestBody.status
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/grants'].get
  update:
    x-apievangelist-phrasing:
      intent: List delegated connections to an MCP server
      effect: read
      questions:
      - Which people have consented to let KnoxCall act on their behalf against an MCP server?
      - Can I see the refresh token status for each connection on an MCP server?
      instructions:
      - text: List the delegated-OAuth connections on MCP server {id}.
        slots:
          id: path.id
      - text: Show who has consented to server {id} and whether their connection has a refresh token.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/grants'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke all connections to an MCP server
      effect: destructive
      questions:
      - How do I offboard everyone from an MCP server at once?
      - What happens to people's tokens when I revoke every connection on an MCP server?
      instructions:
      - text: Revoke every delegated-OAuth connection on MCP server {id}.
        slots:
          id: path.id
      - text: Offboard all consented users from server {id} in one call.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/grants/{grantId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke one connection to an MCP server
      effect: destructive
      questions:
      - Can I revoke just one person's connection to an MCP server?
      - Does revoking a single connection also revoke KnoxCall's upstream authorization?
      instructions:
      - text: Revoke connection {grantId} on MCP server {id}.
        slots:
          grantId: path.grantId
          id: path.id
      - text: Disconnect only the user with connection {grantId} from server {id}.
        slots:
          grantId: path.grantId
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/tools'].get
  update:
    x-apievangelist-phrasing:
      intent: List tools an MCP server exposes
      effect: read
      questions:
      - What tools does an MCP server allow clients to call?
      - Which tool rows are defined on an MCP server?
      instructions:
      - text: List the tool rows on MCP server {id}.
        slots:
          id: path.id
      - text: Show which tools server {id} exposes.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/tools'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or update an MCP tool row
      effect: write
      questions:
      - How do I add a new tool row to an MCP server?
      - Can I change the input schema of a tool row on an MCP server?
      instructions:
      - text: Upsert tool {tool_name} on MCP server {id}.
        slots:
          tool_name: requestBody.tool_name
          id: path.id
      - text: Create or update tool {tool_name} on server {id} with schema {input_schema}.
        slots:
          tool_name: requestBody.tool_name
          id: path.id
          input_schema: requestBody.input_schema
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/tools/{toolId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an MCP tool row
      effect: destructive
      questions:
      - Can I remove a tool row from an MCP server?
      - What happens to calls that reference a tool row I delete from an MCP server?
      instructions:
      - text: Delete tool row {toolId} from MCP server {id}.
        slots:
          toolId: path.toolId
          id: path.id
      - text: Remove the tool row {toolId} on server {id}.
        slots:
          toolId: path.toolId
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/mcp-servers/{id}/tools/{toolId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Enable, disable or rename an MCP tool row
      effect: write
      questions:
      - How do I disable a tool row on an MCP server?
      - Can I rename an existing tool row on an MCP server?
      instructions:
      - text: Set enabled to {enabled} on tool row {toolId} of MCP server {id}.
        slots:
          enabled: requestBody.enabled
          toolId: path.toolId
          id: path.id
      - text: Rename tool row {toolId} on server {id} to {description}.
        slots:
          toolId: path.toolId
          id: path.id
          description: requestBody.description
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/usage/export'].get
  update:
    x-apievangelist-phrasing:
      intent: Export AI gateway usage for FinOps
      effect: read
      questions:
      - How much has each user or team spent on the AI gateway this month?
      - Can I export AI gateway usage as a CSV for billing?
      instructions:
      - text: Export AI gateway usage grouped by {group_by} over {period}.
        slots:
          group_by: query.group_by
          period: query.period
      - text: Download the FinOps usage export for agent {agent_id} as {format}.
        slots:
          agent_id: query.agent_id
          format: query.format
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/usage'].get
  update:
    x-apievangelist-phrasing:
      intent: Get AI gateway cost and token totals
      effect: read
      questions:
      - What has my agent spent on the AI gateway this month?
      - Can I see token counts by model for a single agent?
      instructions:
      - text: Show AI gateway cost and token totals for agent {agent_id} over {period}.
        slots:
          agent_id: query.agent_id
          period: query.period
      - text: Get the AI gateway usage rollup for the last {period}.
        slots:
          period: query.period
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/firewall-policies'].get
  update:
    x-apievangelist-phrasing:
      intent: List prompt-firewall policies
      effect: read
      questions:
      - Which prompt-firewall policies are available to my agents and MCP servers?
      - Can I see the action and heuristics of each firewall policy?
      instructions:
      - text: List all prompt-firewall policies.
      - text: Show every firewall policy with its action and heuristics.
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/firewall-policies'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a prompt-firewall policy
      effect: write
      questions:
      - How do I block prompt-injection attempts with a new firewall policy?
      - Can I set a firewall policy to warn instead of block?
      instructions:
      - text: Create a firewall policy named {name} with heuristics {heuristics}.
        slots:
          name: requestBody.name
          heuristics: requestBody.heuristics
      - text: Create a firewall policy {name} that acts {action} on matches.
        slots:
          name: requestBody.name
          action: requestBody.action
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/firewall-policies/test'].post
  update:
    x-apievangelist-phrasing:
      intent: Dry-run firewall rules against sample text
      effect: read
      questions:
      - Can I test my firewall rules against a sample prompt before saving them?
      - Which patterns would a firewall policy match in a given text?
      instructions:
      - text: Dry-run firewall rules against {text}.
        slots:
          text: requestBody.text
      - text: Test the sample text {text} against my firewall heuristics.
        slots:
          text: requestBody.text
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/firewall-policies/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a prompt-firewall policy
      effect: read
      questions:
      - What heuristics and action does a particular firewall policy use?
      - Can I look up one firewall policy by id?
      instructions:
      - text: Get firewall policy {id}.
        slots:
          id: path.id
      - text: Show the heuristics and action of firewall policy {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/firewall-policies/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a prompt-firewall policy
      effect: destructive
      questions:
      - Can I delete a firewall policy that agents still use?
      - What happens if I delete a firewall policy that is attached to an MCP server?
      instructions:
      - text: Delete firewall policy {id}.
        slots:
          id: path.id
      - text: Remove the firewall policy {id} that is still attached to agents.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/firewall-policies/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a prompt-firewall policy
      effect: write
      questions:
      - How do I change the action of an existing firewall policy?
      - Can I turn on the canary for a firewall policy?
      instructions:
      - text: Set the action of firewall policy {id} to {action}.
        slots:
          id: path.id
          action: requestBody.action
      - text: Turn on the canary for firewall policy {id} with {heuristics}.
        slots:
          id: path.id
          heuristics: requestBody.heuristics
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-policies'].get
  update:
    x-apievangelist-phrasing:
      intent: List PII redaction policies
      effect: read
      questions:
      - Which PII redaction policies are defined in my tenant?
      - Can I see which recognizers a PII policy uses?
      instructions:
      - text: List all PII redaction policies.
      - text: Show every PII policy with its default action.
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-policies'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a PII redaction policy
      effect: write
      questions:
      - How do I redact credit card numbers and phone numbers in prompts?
      - Can I create a PII policy that uses only certain recognizers?
      instructions:
      - text: Create a PII policy named {name} with recognizers {recognizer_ids}.
        slots:
          name: requestBody.name
          recognizer_ids: requestBody.recognizer_ids
      - text: Create a PII policy {name} that redacts PII with default action {default_action}.
        slots:
          name: requestBody.name
          default_action: requestBody.default_action
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-policies/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a PII redaction policy
      effect: read
      questions:
      - What recognizers and default action does a PII policy use?
      - Can I look up one PII policy by id?
      instructions:
      - text: Get PII policy {id}.
        slots:
          id: path.id
      - text: Show the recognizers and default action of PII policy {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-policies/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a PII redaction policy
      effect: destructive
      questions:
      - Can I delete a PII policy that agents still reference?
      - What happens if I delete a PII policy that is attached to an agent?
      instructions:
      - text: Delete PII policy {id}.
        slots:
          id: path.id
      - text: Remove the PII policy {id} that is still attached to agents.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-policies/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a PII redaction policy
      effect: write
      questions:
      - How do I change which recognizers a PII policy uses?
      - Can I reset a PII policy to use every enabled recognizer?
      instructions:
      - text: Set the recognizers of PII policy {id} to {recognizer_ids}.
        slots:
          id: path.id
          recognizer_ids: requestBody.recognizer_ids
      - text: Change PII policy {id} to use every enabled recognizer.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-recognizers'].get
  update:
    x-apievangelist-phrasing:
      intent: List custom PII recognizers
      effect: read
      questions:
      - Which custom detectors have I defined for PII scanning?
      - Can I page through my tenant's PII recognizers?
      instructions:
      - text: List my custom PII recognizers.
      - text: Show page {page} of PII recognizers, {per_page} per page.
        slots:
          page: query.page
          per_page: query.per_page
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-recognizers'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a custom PII recognizer
      effect: write
      questions:
      - How do I add a detector for an internal employee ID format?
      - Can I set a confidence threshold on a new PII recognizer?
      instructions:
      - text: Create a PII recognizer {name} of kind {kind} matching {pattern}.
        slots:
          name: requestBody.name
          kind: requestBody.kind
          pattern: requestBody.pattern
      - text: Add recognizer {name} for {pattern} with confidence {confidence} and action {action}.
        slots:
          name: requestBody.name
          pattern: requestBody.pattern
          confidence: requestBody.confidence
          action: requestBody.action
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-recognizers/test'].post
  update:
    x-apievangelist-phrasing:
      intent: Dry-run a PII recognizer pattern
      effect: read
      questions:
      - Can I compile a new PII pattern before saving it?
      - Does the test run use the same detector builder as production?
      instructions:
      - text: Dry-run the {kind} pattern {pattern} against {text}.
        slots:
          kind: requestBody.kind
          pattern: requestBody.pattern
          text: requestBody.text
      - text: Test recognizer {name} on sample text {text} with pattern {pattern}.
        slots:
          name: requestBody.name
          text: requestBody.text
          pattern: requestBody.pattern
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-recognizers/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a custom PII recognizer
      effect: read
      questions:
      - What pattern and action does one of my PII recognizers use?
      - Can I look up a custom detector by its ID?
      instructions:
      - text: Get PII recognizer {id}.
        slots:
          id: path.id
      - text: Show the pattern and action of custom detector {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-recognizers/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom PII recognizer
      effect: destructive
      questions:
      - How do I remove a custom PII recognizer?
      - Why can't I delete a detector that a policy still uses?
      instructions:
      - text: Delete PII recognizer {id}.
        slots:
          id: path.id
      - text: Remove custom detector {id} from my PII recognizers.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/ai-gateway/pii-recognizers/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a custom PII recognizer
      effect: write
      questions:
      - Can I change the pattern of an existing PII recognizer?
      - Is it possible to turn a custom detector on or off?
      instructions:
      - text: Update PII recognizer {id} to match {pattern}.
        slots:
          id: path.id
          pattern: requestBody.pattern
      - text: Set enabled to {enabled} on custom detector {id}.
        slots:
          enabled: requestBody.enabled
          id: path.id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/oauth/token'].post
  update:
    x-apievangelist-phrasing:
      intent: Exchange a CI OIDC token for a gateway token
      effect: write
      questions:
      - How do I mint a short-lived capability token from a CI workload identity?
      - Can I narrow the exchanged token to a specific resource?
      instructions:
      - text: Exchange my OIDC token {subject_token} for an AI-gateway capability token.
        slots:
          subject_token: requestBody.subject_token
      - text: Exchange {subject_token} for a gateway token scoped to resource {resource}.
        slots:
          subject_token: requestBody.subject_token
          resource: requestBody.resource
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/ai/{agentSlug}/{upstreamPath}'].get
  update:
    x-apievangelist-phrasing:
      intent: Read from an AI provider through the gateway
      effect: read
      questions:
      - Can I list models through the AI-gateway agent?
      - How do I fetch an AI batch's results through the gateway?
      instructions:
      - text: Read {upstreamPath} from AI agent {agentSlug} through the gateway.
        slots:
          upstreamPath: path.upstreamPath
          agentSlug: path.agentSlug
      - text: Fetch the {upstreamPath} results of agent {agentSlug}.
        slots:
          upstreamPath: path.upstreamPath
          agentSlug: path.agentSlug
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v1/ai/{agentSlug}/{upstreamPath}'].post
  update:
    x-apievangelist-phrasing:
      intent: Call an AI provider through the gateway
      effect: write
      questions:
      - How do I send a chat message to an AI provider through the gateway?
      - Does the gateway screen the AI's output before it reaches me?
      instructions:
      - text: Call {upstreamPath} on AI agent {agentSlug} through the gateway.
        slots:
          upstreamPath: path.upstreamPath
          agentSlug: path.agentSlug
      - text: Send a request to {upstreamPath} via agent {agentSlug}.
        slots:
          upstreamPath: path.upstreamPath
          agentSlug: path.agentSlug
      method: generated
      generated: '2026-11-24'

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/knoxcall-ai-gateway-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.