Get Ticket Autonomy Analysis
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/tickets/{ticket_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/tickets/{ticket_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/autonomy-gaps/tickets/{ticket_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"analysis": {
"ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"customer_request": "<string>",
"resolution": "<string>",
"explanation": "<string>",
"missing": "<string>",
"evidence": "<string>",
"confidence": 123,
"used_support_replies": true,
"analyzed_at": "2023-11-07T05:31:56Z",
"gap": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"recommendation": "<string>",
"status": "<string>",
"ticket_count": 123
},
"knowledge_update_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"closed": true
}Autonomy Gaps
Get Ticket Autonomy Analysis
What stopped the agent on one ticket. analysis is null while the ticket is open or not analyzed yet.
GET
/
api
/
v1
/
autonomy-gaps
/
tickets
/
{ticket_id}
Get Ticket Autonomy Analysis
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/tickets/{ticket_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/tickets/{ticket_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/autonomy-gaps/tickets/{ticket_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"analysis": {
"ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"customer_request": "<string>",
"resolution": "<string>",
"explanation": "<string>",
"missing": "<string>",
"evidence": "<string>",
"confidence": 123,
"used_support_replies": true,
"analyzed_at": "2023-11-07T05:31:56Z",
"gap": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"recommendation": "<string>",
"status": "<string>",
"ticket_count": 123
},
"knowledge_update_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"closed": true
}