Reset Application AI Configuration
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/ai-config"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/applications/{application_id}/ai-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/applications/{application_id}/ai-config \
--header 'Authorization: Bearer <token>'{
"binding": {
"connected": true,
"provider": "<string>",
"binding_external_id": "<string>",
"repo_full_name": "<string>",
"reason": "<string>"
},
"lanes": [
{
"lane": "pull_request",
"capability": "<string>",
"enabled": true,
"organisation_enabled": true,
"source": "organisation",
"effective": {
"model": "<string>",
"autonomy": "comment",
"branches": [
"<string>"
],
"ignore_paths": [
"<string>"
],
"skip_drafts": true,
"skill_ids": [
"<string>"
],
"custom_instructions": "<string>",
"max_runs_per_day": 123,
"max_input_characters": 123
},
"organisation_default": {
"model": "<string>",
"autonomy": "comment",
"branches": [
"<string>"
],
"ignore_paths": [
"<string>"
],
"skip_drafts": true,
"skill_ids": [
"<string>"
],
"custom_instructions": "<string>",
"max_runs_per_day": 123,
"max_input_characters": 123
},
"overridden_for_application": true
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Applications
Reset Application AI Configuration
Drop this application’s AI lane overrides entirely so every lane follows the organisation default again, and answer with the resolved configuration. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication plus the X-Ankra-CSRF header).
DELETE
/
api
/
v1
/
org
/
applications
/
{application_id}
/
ai-config
Reset Application AI Configuration
import requests
url = "https://platform.ankra.app/api/v1/org/applications/{application_id}/ai-config"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/applications/{application_id}/ai-config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/applications/{application_id}/ai-config \
--header 'Authorization: Bearer <token>'{
"binding": {
"connected": true,
"provider": "<string>",
"binding_external_id": "<string>",
"repo_full_name": "<string>",
"reason": "<string>"
},
"lanes": [
{
"lane": "pull_request",
"capability": "<string>",
"enabled": true,
"organisation_enabled": true,
"source": "organisation",
"effective": {
"model": "<string>",
"autonomy": "comment",
"branches": [
"<string>"
],
"ignore_paths": [
"<string>"
],
"skip_drafts": true,
"skill_ids": [
"<string>"
],
"custom_instructions": "<string>",
"max_runs_per_day": 123,
"max_input_characters": 123
},
"organisation_default": {
"model": "<string>",
"autonomy": "comment",
"branches": [
"<string>"
],
"ignore_paths": [
"<string>"
],
"skip_drafts": true,
"skill_ids": [
"<string>"
],
"custom_instructions": "<string>",
"max_runs_per_day": 123,
"max_input_characters": 123
},
"overridden_for_application": true
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
The per-application AI configuration read model backing the application detail page's AI tab.