Smart Agent Teams
EndpointsAuthentication

Update My Preferences

Merge a partial update into your preferences. Objects merge key by key, lists replace, and an explicit null removes a setting.

PATCH
/api/me/preferences

Merge a partial update into your preferences. Objects merge key by key, lists replace, and an explicit null removes a setting.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body

Every field optional: absent means "the app's default".

accent?|null
avatar_color?|null
currency?|null
dashboard?|null
date_style?|null
density?|null
favorites?|null
locale?|null
sidebar_collapsed?boolean|null
tasks?|null
theme?|null
timezone?|null
version?Version
Default1

Response Body

Successful Response

application/json
  1. response

Every field optional: absent means "the app's default".

accent?|null
avatar_color?|null
currency?|null
dashboard?|null
date_style?|null
density?|null
favorites?|null
locale?|null
sidebar_collapsed?boolean|null
tasks?|null
theme?|null
timezone?|null
version?Version
Default1
curl -X PATCH "https://example.com/api/me/preferences" \  -H "Content-Type: application/json" \  -d '{}'
{  "accent": "royal",  "avatar_color": "royal",  "currency": "string",  "dashboard": {    "hidden": [      "string"    ],    "order": [      "string"    ],    "range_days": 7  },  "date_style": "short",  "density": "comfortable",  "favorites": {    "agents": [      "ce0951b6-fac0-429c-be9b-31a1ce20b503"    ],    "projects": [      "eaf709ed-5ed9-42a1-a0ca-f919f2d075df"    ]  },  "locale": "string",  "sidebar_collapsed": true,  "tasks": {    "saved_views": [      {        "id": "string",        "name": "string",        "query": ""      }    ],    "view": "list"  },  "theme": "light",  "timezone": "string",  "version": 1}