Microsoft Azure Alterations API

The Alterations API from Microsoft Azure, for alterations.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /alterations Download word alterations for the QnA Maker runtime · Microsoft Azure Download Alterations From Runtime #
Ask an LLM
“How do I download the word alterations (synonyms) my QnA Maker service uses?”
“Can I see the service-wide alteration list that is not tied to a knowledge base?”
Tell an agent
Download the word alterations from the QnA Maker runtime.
Show the service-wide synonym alterations list.
PUT /alterations Replace word alterations for the QnA Maker service · Microsoft Azure Replace Alterations Data #
Ask an LLM
“Can I overwrite the whole service-wide synonym list in QnA Maker?”
“What happens to existing word alterations when I upload a new set for the service?”
Tell an agent
Replace the service-wide word alterations with {alterations}.
Upload {alterations} as the new QnA Maker synonym list for the whole service.
GET /alterations/{kbId} Download word alterations for one knowledge base · Microsoft Azure Download Alterations Per Knowledgebase Qnamaker Managed #
Ask an LLM
“How can I get the synonyms defined for a single QnA Maker managed knowledge base?”
“Can I download alterations scoped to one knowledge base only?”
Tell an agent
Download word alterations for knowledge base {kbId}.
Show the synonym list of knowledge base {kbId}.
PUT /alterations/{kbId} Replace word alterations for one knowledge base · Microsoft Azure Replace Alterations Data Per Knowledgebase Qnamaker Managed #
Ask an LLM
“Can I replace the synonyms of a single QnA Maker managed knowledge base?”
“Is it possible to set knowledge-base-specific word alterations?”
Tell an agent
Replace word alterations for knowledge base {kbId} with {alterations}.
Set the synonym list of knowledge base {kbId} to {alterations}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-alterations-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

microsoft-azure-alterations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v5.0-preview.1
  title: Microsoft Azure QnAMaker Client Alterations API
  description: An API for QnAMaker Service
security:
- apim_key: []
tags:
- name: Alterations
paths:
  /alterations:
    get:
      tags:
      - Alterations
      summary: Microsoft Azure Download Alterations From Runtime
      operationId: microsoftAzureAlterationsGet
      responses:
        '200':
          description: Alterations data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WordAlterationsDTO'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Successful query:
          $ref: ./examples/SuccessfulGetAlts.json
      description: Needs a more full description created.
    put:
      tags:
      - Alterations
      summary: Microsoft Azure Replace Alterations Data
      operationId: microsoftAzureAlterationsReplace
      parameters:
      - $ref: '#/components/parameters/WordAlterations'
      responses:
        '204':
          description: HTTP 204 No Content.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Successful query:
          $ref: ./examples/SuccessfulSetAlts.json
      description: Needs a more full description created.
  /alterations/{kbId}:
    get:
      tags:
      - Alterations
      summary: Microsoft Azure Download Alterations Per Knowledgebase Qnamaker Managed
      operationId: microsoftAzureAlterationsGetalterationsforkb
      parameters:
      - $ref: '#/components/parameters/KbId'
      responses:
        '200':
          description: Alterations data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WordAlterationsDTO'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Successful query:
          $ref: ./examples/SuccessfulGetAltsForKb.json
      description: Needs a more full description created.
    put:
      tags:
      - Alterations
      summary: Microsoft Azure Replace Alterations Data Per Knowledgebase Qnamaker Managed
      operationId: microsoftAzureAlterationsReplacealterationsforkb
      parameters:
      - $ref: '#/components/parameters/KbId'
      - $ref: '#/components/parameters/WordAlterations'
      responses:
        '204':
          description: HTTP 204 No Content.
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        Successful query:
          $ref: ./examples/SuccessfulSetAltsForKb.json
      description: Needs a more full description created.
components:
  schemas:
    AlterationsDTO:
      type: object
      description: Collection of words that are synonyms.
      additionalProperties: false
      required:
      - alterations
      properties:
        alterations:
          type: array
          description: Words that are synonymous with each other.
          maxLength: 20
          minLength: 1
          items:
            type: string
    ErrorResponse:
      type: object
      description: Error response. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
      additionalProperties: false
      properties:
        error:
          description: The error object.
          allOf:
          - $ref: '#/components/schemas/Error'
    Error:
      type: object
      description: The error object. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
      additionalProperties: false
      required:
      - code
      properties:
        code:
          description: One of a server-defined set of error codes.
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: A human-readable representation of the error.
        target:
          type: string
          description: The target of the error.
        details:
          type: array
          description: An array of details about specific errors that led to this reported error.
          items:
            $ref: '#/components/schemas/Error'
        innerError:
          description: An object containing more specific information than the current object about the error.
          $ref: '#/components/schemas/InnerErrorModel'
    ErrorCode:
      type: string
      description: Human readable error code.
      x-ms-enum:
        name: ErrorCodeType
        modelAsString: true
      enum:
      - BadArgument
      - Forbidden
      - NotFound
      - KbNotFound
      - Unauthorized
      - Unspecified
      - EndpointKeysError
      - QuotaExceeded
      - QnaRuntimeError
      - SKULimitExceeded
      - OperationNotFound
      - ServiceError
      - ValidationFailure
      - ExtractionFailure
    WordAlterationsDTO:
      type: object
      description: Collection of word alterations.
      additionalProperties: false
      required:
      - wordAlterations
      properties:
        wordAlterations:
          type: array
          description: Collection of word alterations.
          maxLength: 10000
          items:
            $ref: '#/components/schemas/AlterationsDTO'
    InnerErrorModel:
      type: object
      description: An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
      additionalProperties: false
      properties:
        code:
          type: string
          description: A more specific error code than was provided by the containing error.
        innerError:
          description: An object containing more specific information than the current object about the error.
          $ref: '#/components/schemas/InnerErrorModel'
  parameters:
    KbId:
      name: kbId
      in: path
      required: true
      description: Knowledgebase id.
      x-ms-parameter-location: method
      schema:
        type: string
    WordAlterations:
      name: wordAlterations
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/WordAlterationsDTO'
      description: New alterations data.
      x-ms-parameter-location: method
  securitySchemes:
    apim_key:
      type: apiKey
      name: Ocp-Apim-Subscription-Key
      in: header
x-ms-parameterized-host:
  hostTemplate: '{Endpoint}/qnamaker/v5.0-preview.1'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'