auth

Update Preferred Model

Persist the user's preferred LLM model id.

The catalogue lives in /billing/models; this endpoint stores an opaque string. Pass null to clear the preference and fall back to the catalogue default at request time.

patch/auth/me/preferred-model

Request body

preferred_modelstring nullable

Response

Successful Response

idstring required
github_usernamestring nullable
avatar_urlstring nullable
emailstring nullable
tier'free' | 'pro' | 'teams' | 'admin' required
llm_credit_balance_centsinteger required
monthly_credit_reset_atstring date-time nullable
billing_intervalstring nullable
preferred_modelstring nullable
theme_preference'system' | 'light' | 'dark' nullable
notification_preferencesobject
deleted_atstring date-time nullable
has_subscriptionboolean
has_billing_accountboolean
free_answers_usedinteger nullable
free_answers_limitinteger nullable
free_answers_remaininginteger nullable

Changes