Get Document Content
curl --request GET \
--url https://api.threetone.in/v1/voiceai/knowledge-base/{document_id}/content \
--header 'x-api-key: <api-key>'import requests
url = "https://api.threetone.in/v1/voiceai/knowledge-base/{document_id}/content"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.threetone.in/v1/voiceai/knowledge-base/{document_id}/content', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Knowledge Base
Get Document Content
Get the entire content of a document from the knowledge base
GET
/
v1
/
voiceai
/
knowledge-base
/
{document_id}
/
content
Get Document Content
curl --request GET \
--url https://api.threetone.in/v1/voiceai/knowledge-base/{document_id}/content \
--header 'x-api-key: <api-key>'import requests
url = "https://api.threetone.in/v1/voiceai/knowledge-base/{document_id}/content"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.threetone.in/v1/voiceai/knowledge-base/{document_id}/content', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}