Skip to main content
PUT
/
api
/
config
Update configuration
curl --request PUT \
  --url http://localhost:8080/api/config \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_config": {
    "drop_excess_requests": true,
    "prometheus_labels": [
      "<string>"
    ],
    "allowed_origins": [
      "<string>"
    ],
    "initial_pool_size": 123,
    "enable_logging": true,
    "disable_content_logging": true,
    "enable_governance": true,
    "enforce_governance_header": true,
    "allow_direct_keys": true,
    "max_request_body_size_mb": 123,
    "enable_litellm_fallbacks": true,
    "log_retention_days": 123,
    "header_filter_config": {
      "allowlist": [
        "<string>"
      ],
      "denylist": [
        "<string>"
      ]
    },
    "mcp_agent_depth": 123,
    "mcp_tool_execution_timeout": 123,
    "mcp_code_mode_binding_level": "<string>"
  },
  "framework_config": {
    "id": 123,
    "pricing_url": "<string>",
    "pricing_sync_interval": 123
  },
  "auth_config": {
    "admin_username": "<string>",
    "admin_password": "<string>",
    "is_enabled": true,
    "disable_auth_on_inference": true
  }
}
'
{
  "status": "success",
  "message": "Operation completed successfully"
}

Body

application/json

Update configuration request

client_config
object

Client configuration

framework_config
object

Framework configuration

auth_config
object

Authentication configuration

Response

Configuration updated successfully

Generic success response

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"