Re-check a pending AI action against the live cluster state (bearer token)
import requests
url = "https://platform.ankra.app/api/v1/chat/actions/{action_id}/revalidate"
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/chat/actions/{action_id}/revalidate', 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/chat/actions/{action_id}/revalidate \
--header 'Authorization: Bearer <token>'{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}chat
Re-check a pending AI action against the live cluster state (bearer token)
GET
/
api
/
v1
/
chat
/
actions
/
{action_id}
/
revalidate
Re-check a pending AI action against the live cluster state (bearer token)
import requests
url = "https://platform.ankra.app/api/v1/chat/actions/{action_id}/revalidate"
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/chat/actions/{action_id}/revalidate', 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/chat/actions/{action_id}/revalidate \
--header 'Authorization: Bearer <token>'{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}