Update the caller's platform preferences [write]

Changed on

Change default_budget_usd (a dollar string like '5.00', or null to clear), model_improvement (boolean), language ('en', 'zh', or null to follow the browser or the Mac), or any of them together. Returns all preferences after the update.

patch/preferences

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/preferences
  • Auth
    HTTP bearer

Request body

default_budget_usdstring nullable

New default budget as a USD string or null to clear

model_improvementboolean
language'en' | 'zh' nullable

Response

OK

Changes