Skip to main content
GET
/
api
/
config
Get configuration
curl --request GET \
  --url http://localhost:8080/api/config
{
  "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
  },
  "is_db_connected": true,
  "is_cache_connected": true,
  "is_logs_connected": true,
  "proxy_config": {
    "enabled": true,
    "type": "http",
    "url": "<string>",
    "username": "<string>",
    "password": "<string>",
    "no_proxy": "<string>",
    "timeout": 123,
    "skip_tls_verify": true,
    "enable_for_scim": true,
    "enable_for_inference": true,
    "enable_for_api": true
  },
  "restart_required": {
    "required": true,
    "reason": "<string>"
  }
}

Query Parameters

from_db
enum<string>

If true, fetch configuration directly from the database

Available options:
true,
false

Response

Successful response

Configuration response

client_config
object

Client configuration

framework_config
object

Framework configuration

auth_config
object

Authentication configuration

is_db_connected
boolean
is_cache_connected
boolean
is_logs_connected
boolean
proxy_config
object

Global proxy configuration

restart_required
object

Restart required configuration