Update Autonomy Gap
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"review_notes": ""
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}"
payload = { "review_notes": "" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({review_notes: ''})
};
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
Update Autonomy Gap
Set a blocker’s status and note. A resolved blocker opens again as a new one if a ticket hits it later.
PUT
/
api
/
v1
/
autonomy-gaps
/
{gap_id}
Update Autonomy Gap
curl --request PUT \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"review_notes": ""
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}"
payload = { "review_notes": "" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({review_notes: ''})
};
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
}
]
}Body
application/json
Response
200 - application/json
OK
