This API description
curl --request GET \
--url https://app.loice.ai/api/v1/openapi.jsonconst options = {method: 'GET'};
fetch('https://app.loice.ai/api/v1/openapi.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/openapi.json';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/openapi.json"
response = requests.get(url)
print(response.text){
"openapi": "3.1.0",
"info": {
"title": "Loice API",
"version": "1"
},
"paths": {
"…": {}
}
}{
"error": {
"message": "<string>"
}
}API Reference
This API description
Returns the OpenAPI 3.1 document describing this API, with the live point cost of every operation. Point code generators or API clients at it. Requires no authentication. ?audience=docs returns the variant the hosted reference is built from: the same operations without point amounts, with the absolute production server.
Billing
Free — this endpoint does not consume points.
GET
/
api
/
v1
/
openapi.json
This API description
curl --request GET \
--url https://app.loice.ai/api/v1/openapi.jsonconst options = {method: 'GET'};
fetch('https://app.loice.ai/api/v1/openapi.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/openapi.json';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/openapi.json"
response = requests.get(url)
print(response.text){
"openapi": "3.1.0",
"info": {
"title": "Loice API",
"version": "1"
},
"paths": {
"…": {}
}
}{
"error": {
"message": "<string>"
}
}Query Parameters
docs: the variant the hosted reference is built from (no point amounts). Omit for the live document.
Available options:
docs Response
The OpenAPI 3.1 document.
An OpenAPI 3.1 document describing this API.

