Select the default model
curl --request PUT \
--url https://aquila.attaxr.com/api/models/selected \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"modelId": "<string>"
}
'const options = {
method: 'PUT',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({modelId: '<string>'})
};
fetch('https://aquila.attaxr.com/api/models/selected', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/models/selected"
payload = { "modelId": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}Models
Select the default model
Owner or admin only. Sets the model the evaluation pipeline runs on.
PUT
/
api
/
models
/
selected
Select the default model
curl --request PUT \
--url https://aquila.attaxr.com/api/models/selected \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"modelId": "<string>"
}
'const options = {
method: 'PUT',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({modelId: '<string>'})
};
fetch('https://aquila.attaxr.com/api/models/selected', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/models/selected"
payload = { "modelId": "<string>" }
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.
Body
application/json
Response
The new selection.

