Get Autonomy Gap
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_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/{gap_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"title": "<string>",
"description": "<string>",
"recommendation": "<string>",
"status": "<string>",
"ticket_count": 123,
"last_seen_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"review_notes": "<string>",
"tickets": [
{
"ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject": "<string>",
"ticket_created_at": "2023-11-07T05:31:56Z",
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_name": "<string>",
"category": "<string>",
"customer_request": "<string>",
"resolution": "<string>",
"explanation": "<string>",
"missing": "<string>",
"evidence": "<string>",
"confidence": 123
}
]
}Autonomy Gaps
Get Autonomy Gap
One blocker with the tickets it caused: the request, how the team resolved it, why the agent could not.
GET
/
api
/
v1
/
autonomy-gaps
/
{gap_id}
Get Autonomy Gap
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_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/{gap_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"title": "<string>",
"description": "<string>",
"recommendation": "<string>",
"status": "<string>",
"ticket_count": 123,
"last_seen_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"review_notes": "<string>",
"tickets": [
{
"ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject": "<string>",
"ticket_created_at": "2023-11-07T05:31:56Z",
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_name": "<string>",
"category": "<string>",
"customer_request": "<string>",
"resolution": "<string>",
"explanation": "<string>",
"missing": "<string>",
"evidence": "<string>",
"confidence": 123
}
]
}Response
200 - application/json
OK
