Merge Autonomy Gaps
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}/merge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"into_gap_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}/merge"
payload = { "into_gap_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({into_gap_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}/merge', 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
Merge Autonomy Gaps
Merge a duplicate blocker into the one to keep. The duplicate is removed and its tickets are moved.
POST
/
api
/
v1
/
autonomy-gaps
/
{gap_id}
/
merge
Merge Autonomy Gaps
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}/merge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"into_gap_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}/merge"
payload = { "into_gap_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({into_gap_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/autonomy-gaps/{gap_id}/merge', 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
