{
  "paths": { "data_dir": "/data/pi-agent-api" },
  "server": { "host": "127.0.0.1", "port": 3000, "shutdown_grace_seconds": 30 },
  "chat": { "ttl_seconds": 86400, "cleanup_interval_seconds": 300 },
  "upload": { "max_file_bytes": 0, "max_request_bytes": 0, "max_files": 0 },
  "logging": {
    "enabled": true,
    "log_bodies": true,
    "max_body_chars": 16384,
    "max_file_bytes": 10485760,
    "max_files": 7
  }
}
