QnAMaker Runtime Client
azure · Cloud
An API for QnAMaker runtime
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
POST
GenerateAnswer call to query the knowledgebase.
GenerateAnswer call to query the knowledgebase.
https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer"import requests
response = requests.post(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/generateAnswer";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
POST
Train call to add suggestions to the knowledgebase.
Train call to add suggestions to the knowledgebase.
https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train"import requests
response = requests.post(
"https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/azure.com/cognitiveservices-QnAMakerRuntime/4.0/knowledgebases/{kbId}/train";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with QnAMaker Runtime Client?
QnAMaker Runtime Client is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. QnAMaker Runtime Client is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide