List the model each AI lane runs on (bearer token)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/lane-models"
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-settings/lane-models', 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-settings/lane-models \
--header 'Authorization: Bearer <token>'{
"lanes": [
{
"lane": "<string>",
"display_name": "<string>",
"description": "<string>",
"default_tier": "<string>",
"selected_model_key": "<string>",
"effective_model_id": "<string>",
"effective_model_name": "<string>",
"is_selection_stale": true
}
]
}AI Settings
List the model each AI lane runs on (bearer token)
Every registered AI lane - deploy analysis, troubleshooting, CI/CD generation, stack README generation and AI code review - with the organisation’s selection and the model the lane resolves to today. Member-level.
GET
/
api
/
v1
/
org
/
ai-settings
/
lane-models
List the model each AI lane runs on (bearer token)
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/lane-models"
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-settings/lane-models', 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-settings/lane-models \
--header 'Authorization: Bearer <token>'{
"lanes": [
{
"lane": "<string>",
"display_name": "<string>",
"description": "<string>",
"default_tier": "<string>",
"selected_model_key": "<string>",
"effective_model_id": "<string>",
"effective_model_name": "<string>",
"is_selection_stale": true
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Every AI lane with its selection and effective model
Show child attributes
Show child attributes