Assistant FAQ stats
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/stats/faq_stats \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/stats/faq_stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/stats/faq_stats"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}{}Livia
Assistant FAQ stats
Knowledge coverage of approved and pending FAQs plus documents.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
captain
/
assistants
/
{assistant_id}
/
stats
/
faq_stats
Assistant FAQ stats
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/stats/faq_stats \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/stats/faq_stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/captain/assistants/{assistant_id}/stats/faq_stats"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}{}