DeepFellow DOCS

Update dynamic server configuration.

Apply a partial update to the dynamic settings backed by config.json.

Only fields defined on DynamicSettings may be changed here — bootstrap fields (Mongo connection, filestorage paths, plugins path, ...) are immutable at runtime. Validated, persisted atomically, applied in-memory, and any required side effects (OTEL reconfigure) are triggered — all without a process restart.

PUT
/admin/config
Authorization[Bearer <token>]

In: header

Empty Object

Response Body

curl -X PUT "https://deepfellow-server-host/admin/config" \  -H "Content-Type: application/json" \  -d '{}'
{
  "server_url": "http://localhost:8000",
  "infra": {
    "url": "http://127.0.0.1:8086",
    "api_key": "ADMIN"
  },
  "chat_translation_model": "gemma3:1b",
  "vector_database": {
    "provider": {
      "active": false,
      "db": "default",
      "password": "Milvus",
      "type": "milvus",
      "url": "http://localhost:19530",
      "user": "root"
    },
    "embedding": {
      "active": false,
      "model": "mxbai",
      "size": 1024,
      "sparse": false
    },
    "reranker": {
      "active": false,
      "min_fetch_k": 50,
      "model": "BAAI/bge-reranker-v2-m3",
      "oversampling": 2.5
    },
    "search": {
      "default_num_results": 5,
      "max_num_results": 20
    },
    "vector_threshold": 0.3
  },
  "plugins_setup": {},
  "otel_exporter_otlp_endpoint": "http://localhost:4317",
  "otel_tracing_enabled": false,
  "otel_logging_enabled": false,
  "log_level": "INFO",
  "evaluate_model": "gemma3:1b",
  "metrics_username": "",
  "metrics_password": "",
  "embedding_worker_count": 5,
  "embedding_batch_size": 10,
  "only_admin_can_create_accounts_by_invitation": true,
  "smtp": {
    "host": "localhost",
    "port": 25,
    "auth": false,
    "user": "",
    "password": "",
    "email_from": "no-reply@domain.com",
    "use_tls": false
  },
  "reranker_worker_count": 5,
  "doc_chunker_use": true,
  "doc_chunker_prefix": "doc_chunker",
  "doc_chunker_picture_description_model": "granite3.2-vision:2b",
  "doc_chunker_stt_model": "Systran/faster-whisper-large-v3",
  "lemmatizer_endpoint_prefix": "lemmatizer",
  "lemmatizer_worker_count": 5,
  "fine_tuning_poll_interval_seconds": 60,
  "fine_tuning_max_worker_sync_failures": 5,
  "metadata_expansion_queue_name": "metadata_expansion",
  "metadata_expansion_model": "gemma3:1b",
  "metadata_expansion_max_attempts": 3,
  "summarization_queue_name": "document_summarization",
  "summarization_model": "gemma4:12b",
  "summarization_max_attempts": 3,
  "nightshift_jobs_timeout_seconds": 1800,
  "mcp_session_ttl_seconds": 300,
  "mcp_session_sweep_interval_seconds": 60,
  "graphiti": {
    "enabled": false,
    "neo4j_uri": "bolt://localhost:7687",
    "neo4j_user": "neo4j",
    "neo4j_password": "password",
    "llm_model": "gpt-4o-mini",
    "embedding_model": "text-embedding-3-small",
    "embedding_dim": 1536
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.