Get AI ticket desk settings
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tickets/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/ai-tickets/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/ai-tickets/settings \
--header 'Authorization: Bearer <token>'{
"slack_channel_id": "<string>",
"teams_conversation_id": "<string>",
"reviewer_agent_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"require_agent_review": true,
"auto_file_insight_severities": [
"<string>"
],
"notify_mode": "<string>",
"notify_min_priority": "<string>",
"notify_source_kinds": [
"<string>"
],
"notify_event_scope": "<string>",
"notify_cluster_environments": [
"<string>"
],
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}AI Tickets
Get AI ticket desk settings
Returns the organisation’s ticket desk settings: the Slack channel and Microsoft Teams conversation tickets are announced in, the reviewing agent and whether agent review is required, which insight severities are filed automatically, and the channel notification policy. An organisation that never saved settings reads the defaults.
GET
/
api
/
v1
/
org
/
ai-tickets
/
settings
Get AI ticket desk settings
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tickets/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/ai-tickets/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/ai-tickets/settings \
--header 'Authorization: Bearer <token>'{
"slack_channel_id": "<string>",
"teams_conversation_id": "<string>",
"reviewer_agent_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"require_agent_review": true,
"auto_file_insight_severities": [
"<string>"
],
"notify_mode": "<string>",
"notify_min_priority": "<string>",
"notify_source_kinds": [
"<string>"
],
"notify_event_scope": "<string>",
"notify_cluster_environments": [
"<string>"
],
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response