Stream the AI ticket board
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tickets/feed"
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/feed', 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/feed \
--header 'Authorization: Bearer <token>'<string>AI Tickets
Stream the AI ticket board
Streams the AI ticket board as server-sent events, the live view the console’s board renders: an initial snapshot, then diffs as tickets change, with heartbeats. cluster_scope=subscribed narrows it to the clusters the caller is subscribed to. A user holds a bounded number of open board connections, shared with the browser.
GET
/
api
/
v1
/
org
/
ai-tickets
/
feed
Stream the AI ticket board
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tickets/feed"
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/feed', 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/feed \
--header 'Authorization: Bearer <token>'<string>Authorizations
Response
The SSE board feed: a snapshot event (open tickets and the board summary), then diff events carrying the tickets changed since, and heartbeat events every 15 seconds. Each data line is a JSON object whose event_kind names it.
The response is of type string.