MCP Gateway
ApiGateway settings

Update gateway settings

Update current user's gateway settings. Supports partial updates -- only provided fields are updated.

PUT
/api/v1/settings/gateway

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://loading/api/v1/settings/gateway" \  -H "Content-Type: application/json" \  -d '{}'
{
  "default_mode": "string",
  "auto_threshold": 0,
  "search_results_limit": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}