Skip to main content
PUT
/
api
/
v1
/
config
/
global
Update global configuration
curl --request PUT \
  --url http://localhost:3000/api/v1/config/global \
  --header 'Content-Type: application/json' \
  --cookie nut-session= \
  --data '
{
  "apiKeys": {},
  "defaultModel": "<string>"
}
'
{
  "success": true,
  "data": {
    "config": {
      "apiKeys": {},
      "defaultModel": "<string>"
    }
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Body

application/json
apiKeys
object

API keys for various services

defaultModel
string

Default AI model

Response

Global configuration updated

success
boolean
required
data
object