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

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Body

application/json
name
string

Project name

defaultAgent
string

Default agent name

aiModel
string

Default AI model

mcpServers
object

MCP server configurations

Response

Configuration updated

success
boolean
required
data
object