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
personal_tier'free' | 'pro' | 'teams' | 'admin' required
effective_tier'free' | 'pro' | 'teams' | 'admin' required
billing_access_source'none' | 'subscription' | 'comped' | 'legacy_unknown' required
subscription_status'pending' | 'active' | 'past_due' | 'on_hold' | 'paused' | 'cancelled' | 'failed' | 'expired' nullable
cancel_at_period_endboolean
current_period_endstring date-time nullable
past_due_ends_atstring date-time nullable
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