Get the personal AI keys policy (browser session)
import requests
url = "https://api.platform.ankra.app/org/ai-settings/personal-keys"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/ai-settings/personal-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/ai-settings/personal-keys \
--cookie ankra_session={
"allowed": true
}AI Settings
Get the personal AI keys policy (browser session)
Whether the organisation’s chat turns and pull request reviews may run on its members’ own AI keys. Allowed until an administrator turns it off; readable by every member.
GET
/
org
/
ai-settings
/
personal-keys
Get the personal AI keys policy (browser session)
import requests
url = "https://api.platform.ankra.app/org/ai-settings/personal-keys"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/ai-settings/personal-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/ai-settings/personal-keys \
--cookie ankra_session={
"allowed": true
}