Get Knowledge Update Request
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/knowledge-update-requests/{request_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/knowledge-update-requests/{request_id}"
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://{tenant_id}.api.useago.com/api/v1/knowledge-update-requests/{request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"message": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"knowledge_document_id": "<string>",
"knowledge_document_title": "<string>",
"thread_id": "<string>",
"business_message_id": "<string>",
"reviewed_by_email": "<string>",
"reviewed_at": "<string>",
"review_notes": "<string>",
"user_question": "<string>",
"gap_summary": "<string>",
"source": "<string>",
"gap_type": "<string>",
"gap_probability": 123,
"occurrence_count": 123,
"worth_an_article": 123,
"kind": "<string>",
"topics": [
"<string>"
],
"confidence": 123,
"occurrences": [
{
"thread_id": "<string>",
"business_message_id": "<string>",
"source": "<string>",
"user_question": "<string>",
"feedback": "<string>",
"gap_probability": 123,
"created_at": "<string>"
}
],
"conflicting_documents": [
{
"id": "<string>",
"title": "<string>",
"statement": "<string>",
"document_origin": {
"source_type": "<string>",
"synced": true,
"external_url": "<string>",
"has_override": false
}
}
],
"recommended_kb_actions": {
"summary_for_admin": "<string>",
"actions": [
{
"type": "<string>",
"rationale": "<string>",
"knowledge_document_id": "<string>",
"section_hint": "<string>",
"addition_markdown": "<string>",
"suggested_title": "<string>",
"suggested_content_markdown": "<string>",
"source_doc_id": "<string>",
"target_doc_id": "<string>",
"link_text": "<string>",
"document_origin": {
"source_type": "<string>",
"synced": true,
"external_url": "<string>",
"has_override": false
}
}
],
"confidence": 123
},
"recommended_kb_actions_summary": "<string>",
"agent_id": "<string>",
"agent_name": "<string>"
}Knowledge Update Requests
Get Knowledge Update Request
Get one report with its occurrences, conflicting documents and recommended knowledge base edits.
GET
/
api
/
v1
/
knowledge-update-requests
/
{request_id}
Get Knowledge Update Request
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/knowledge-update-requests/{request_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/knowledge-update-requests/{request_id}"
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://{tenant_id}.api.useago.com/api/v1/knowledge-update-requests/{request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"message": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"knowledge_document_id": "<string>",
"knowledge_document_title": "<string>",
"thread_id": "<string>",
"business_message_id": "<string>",
"reviewed_by_email": "<string>",
"reviewed_at": "<string>",
"review_notes": "<string>",
"user_question": "<string>",
"gap_summary": "<string>",
"source": "<string>",
"gap_type": "<string>",
"gap_probability": 123,
"occurrence_count": 123,
"worth_an_article": 123,
"kind": "<string>",
"topics": [
"<string>"
],
"confidence": 123,
"occurrences": [
{
"thread_id": "<string>",
"business_message_id": "<string>",
"source": "<string>",
"user_question": "<string>",
"feedback": "<string>",
"gap_probability": 123,
"created_at": "<string>"
}
],
"conflicting_documents": [
{
"id": "<string>",
"title": "<string>",
"statement": "<string>",
"document_origin": {
"source_type": "<string>",
"synced": true,
"external_url": "<string>",
"has_override": false
}
}
],
"recommended_kb_actions": {
"summary_for_admin": "<string>",
"actions": [
{
"type": "<string>",
"rationale": "<string>",
"knowledge_document_id": "<string>",
"section_hint": "<string>",
"addition_markdown": "<string>",
"suggested_title": "<string>",
"suggested_content_markdown": "<string>",
"source_doc_id": "<string>",
"target_doc_id": "<string>",
"link_text": "<string>",
"document_origin": {
"source_type": "<string>",
"synced": true,
"external_url": "<string>",
"has_override": false
}
}
],
"confidence": 123
},
"recommended_kb_actions_summary": "<string>",
"agent_id": "<string>",
"agent_name": "<string>"
}Response
200 - application/json
OK
Full schema for a single request.
