auth

Update Theme Preference

Persist the user's theme preference (system / light / dark / null).

null clears the column so the client falls back to its default (system). Pydantic enforces the enum at request validation time so an arbitrary string can't reach the column.

patch/auth/me/theme

Request body

theme_preference'system' | 'light' | 'dark' 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