Get Ticket Status History
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/ticket-status \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/ticket-status"
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/ticket-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"granularity": "day",
"statuses": [
"<string>"
],
"totals": {},
"total": 123,
"buckets": [
{
"date": "2023-12-25",
"total": 123,
"counts": {}
}
]
}Autonomy Gaps
Get Ticket Status History
Tickets opened from agent conversations, per creation date and current status.
One period per day up to 31 days, per week up to 120 days, per month beyond; days=0 covers all time.
GET
/
api
/
v1
/
autonomy-gaps
/
ticket-status
Get Ticket Status History
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/ticket-status \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/ticket-status"
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/ticket-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"granularity": "day",
"statuses": [
"<string>"
],
"totals": {},
"total": 123,
"buckets": [
{
"date": "2023-12-25",
"total": 123,
"counts": {}
}
]
}