Read the AI board identity (ai.manage)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tasks/board-identity"
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-tasks/board-identity', 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-tasks/board-identity \
--header 'Authorization: Bearer <token>'{
"provisioned": true,
"subject": "<string>",
"role_slug": "<string>",
"ankra_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}AI Management
Read the AI board identity (ai.manage)
Reports whether the organisation has provisioned the identity its platform-created board agents act as, and which role it holds. Without it every designated board worker escalates instead of working. Requires the ai.manage permission.
GET
/
api
/
v1
/
org
/
ai-tasks
/
board-identity
Read the AI board identity (ai.manage)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-tasks/board-identity"
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-tasks/board-identity', 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-tasks/board-identity \
--header 'Authorization: Bearer <token>'{
"provisioned": true,
"subject": "<string>",
"role_slug": "<string>",
"ankra_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
The board identity