MCP Gateway
ApiSettings

Get user preferences

Get current user's UI preferences. Creates defaults if none exist. This is an API-only endpoint for programmatic access — no frontend UI currently consumes it.

GET
/api/v1/settings/preferences

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/settings/preferences"
{
  "theme": "string",
  "default_page": "string",
  "locale": "string",
  "items_per_page": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}