Get this OpenAPI document
const options = {method: 'GET'};
fetch('https://www.ninjachat.ai/api/v1/openapi', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.ninjachat.ai/api/v1/openapi"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://www.ninjachat.ai/api/v1/openapi{}Models & pricing
Get this OpenAPI document
GET
/
openapi
Get this OpenAPI document
const options = {method: 'GET'};
fetch('https://www.ninjachat.ai/api/v1/openapi', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.ninjachat.ai/api/v1/openapi"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://www.ninjachat.ai/api/v1/openapi{}Response
200 - application/json
OpenAPI 3.1 document.
The response is of type object.