openapi: 3.2.0 info: version: v5.0-preview.1 title: Microsoft Azure QnAMaker Client Endpoint Settings API description: An API for QnAMaker Service security: - apim_key: [] tags: - name: Endpoint Settings paths: /endpointSettings: get: summary: Microsoft Azure Gets Endpoint Settings For An Endpoint operationId: microsoftAzureEndpointsettingsGetsettings responses: '200': description: Response with endpoint settings info in it. content: application/json: schema: $ref: '#/components/schemas/EndpointSettingsDTO' default: description: Error response. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' x-ms-examples: Successful query: $ref: ./examples/SuccessfulGetEpSettings.json description: Needs a more full description created. tags: - Endpoint Settings components: schemas: ActiveLearningSettingsDTO: type: object description: Active Learning settings of the endpoint. additionalProperties: false properties: enable: type: string description: True/False string providing Active Learning 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' 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' 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' EndpointSettingsDTO: type: object description: Endpoint settings. additionalProperties: false properties: activeLearning: description: Active Learning settings of the endpoint. allOf: - $ref: '#/components/schemas/ActiveLearningSettingsDTO' 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 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'