curl --request POST \
--url https://api.ara.so/session/byok \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'{
"ok": true,
"byok_enabled": true,
"idle_timeout": 123
}BYOK status (deprecated — now derived from stored credentials).
The enabled field in the request is ignored. BYOK is active when
the user has an OpenRouter credential stored via POST /credentials.
curl --request POST \
--url https://api.ara.so/session/byok \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'{
"ok": true,
"byok_enabled": true,
"idle_timeout": 123
}Was this page helpful?