Get Configuration
curl --request GET \
--url https://api.example.com/api/configs/export{
"version": 123,
"ui": {
"enable_signup": true,
"ENABLE_LOGIN_FORM": true,
"default_locale": "<string>",
"default_models": "<string>",
"default_pinned_models": "<string>",
"model_order_list": [
{}
],
"prompt_suggestions": [
{
"title": [
{}
],
"content": "<string>"
}
],
"default_user_role": "<string>",
"default_group_id": "<string>",
"watermark": "<string>",
"enable_community_sharing": true,
"enable_message_rating": true,
"enable_user_webhooks": true,
"banners": [
{
"id": "<string>",
"type": "<string>",
"title": "<string>",
"content": "<string>",
"dismissible": true,
"timestamp": 123
}
]
},
"auth": {
"enable_api_keys": true,
"api_key.endpoint_restrictions": true,
"api_key.allowed_endpoints": "<string>",
"jwt_expiry": "<string>",
"admin.show": true,
"admin.email": "<string>"
},
"oauth": {
"enable_signup": true,
"merge_accounts_by_email": true,
"enable_role_mapping": true,
"enable_group_mapping": true,
"enable_group_creation": true,
"allowed_domains": [
{}
],
"update_picture_on_login": true,
"update_name_on_login": true,
"update_email_on_login": true
},
"ollama": {
"enable": true,
"base_urls": [
{}
],
"api_configs": {}
},
"openai": {
"enable": true,
"api_keys": [
{}
],
"api_base_urls": [
{}
],
"api_configs": {}
},
"models": {
"base_models_cache": true,
"default_metadata": {},
"default_params": {}
},
"tool_server": {
"connections": [
{
"url": "<string>",
"path": "<string>",
"type": "<string>",
"auth_type": "<string>",
"headers": {},
"key": "<string>",
"config": {}
}
]
},
"terminal_server": {
"connections": [
{}
]
},
"direct": {
"enable": true
},
"webui": {
"url": "<string>"
},
"user": {
"permissions": {}
},
"folders": {
"enable": true,
"max_file_count": "<string>"
},
"channels": {
"enable": true
},
"notes": {
"enable": true
},
"webhook_url": "<string>"
}Configuration
Get Configuration
Export the complete system configuration
GET
/
api
/
configs
/
export
Get Configuration
curl --request GET \
--url https://api.example.com/api/configs/export{
"version": 123,
"ui": {
"enable_signup": true,
"ENABLE_LOGIN_FORM": true,
"default_locale": "<string>",
"default_models": "<string>",
"default_pinned_models": "<string>",
"model_order_list": [
{}
],
"prompt_suggestions": [
{
"title": [
{}
],
"content": "<string>"
}
],
"default_user_role": "<string>",
"default_group_id": "<string>",
"watermark": "<string>",
"enable_community_sharing": true,
"enable_message_rating": true,
"enable_user_webhooks": true,
"banners": [
{
"id": "<string>",
"type": "<string>",
"title": "<string>",
"content": "<string>",
"dismissible": true,
"timestamp": 123
}
]
},
"auth": {
"enable_api_keys": true,
"api_key.endpoint_restrictions": true,
"api_key.allowed_endpoints": "<string>",
"jwt_expiry": "<string>",
"admin.show": true,
"admin.email": "<string>"
},
"oauth": {
"enable_signup": true,
"merge_accounts_by_email": true,
"enable_role_mapping": true,
"enable_group_mapping": true,
"enable_group_creation": true,
"allowed_domains": [
{}
],
"update_picture_on_login": true,
"update_name_on_login": true,
"update_email_on_login": true
},
"ollama": {
"enable": true,
"base_urls": [
{}
],
"api_configs": {}
},
"openai": {
"enable": true,
"api_keys": [
{}
],
"api_base_urls": [
{}
],
"api_configs": {}
},
"models": {
"base_models_cache": true,
"default_metadata": {},
"default_params": {}
},
"tool_server": {
"connections": [
{
"url": "<string>",
"path": "<string>",
"type": "<string>",
"auth_type": "<string>",
"headers": {},
"key": "<string>",
"config": {}
}
]
},
"terminal_server": {
"connections": [
{}
]
},
"direct": {
"enable": true
},
"webui": {
"url": "<string>"
},
"user": {
"permissions": {}
},
"folders": {
"enable": true,
"max_file_count": "<string>"
},
"channels": {
"enable": true
},
"notes": {
"enable": true
},
"webhook_url": "<string>"
}Exports the complete system configuration including all settings, OAuth providers, tool servers, models, and UI preferences.
Authentication
Requires admin authentication.Response
Configuration version number
UI-related configuration settings
Show properties
Show properties
Whether user signup is enabled
Whether login form is displayed
Default locale for the UI
Comma-separated list of default models
Comma-separated list of pinned models
Ordered list of model IDs
Default role for new users (e.g., “pending”, “user”)
Default group ID for new users
Response watermark text
Whether community sharing is enabled
Whether message rating is enabled
Whether user webhooks are enabled
Array of banner objects
Show properties
Show properties
Unique banner identifier
Banner type (e.g., “info”, “warning”, “error”)
Banner title (optional)
Banner content
Whether the banner can be dismissed
Unix timestamp when banner was created
Authentication configuration
Show properties
Show properties
Whether API keys are enabled
Whether API key endpoint restrictions are enabled
Comma-separated list of allowed endpoints for API keys
JWT expiration time (e.g., “4w”, “30d”)
Whether to show admin details
Admin email address
OAuth configuration settings
Show properties
Show properties
Whether OAuth signup is enabled
Whether to merge accounts by email
Whether OAuth role mapping is enabled
Whether OAuth group mapping is enabled
Whether OAuth group creation is enabled
Array of allowed domains for OAuth
Whether to update user picture on login
Whether to update user name on login
Whether to update user email on login
Tool server configuration
Show properties
Show properties
Array of tool server connection objects
Show properties
Show properties
Terminal server configuration
Show properties
Show properties
Array of terminal server connection objects
Direct connection settings
Show properties
Show properties
Whether direct connections are enabled
User configuration
Show properties
Show properties
Default user permissions object with nested workspace, sharing, chat, features, and settings permissions
Webhook URL for notifications
Example Response
{
"version": 0,
"ui": {
"enable_signup": true,
"ENABLE_LOGIN_FORM": true,
"default_locale": "",
"default_models": null,
"default_pinned_models": null,
"model_order_list": [],
"prompt_suggestions": [
{
"title": ["Help me study", "vocabulary for a college entrance exam"],
"content": "Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."
}
],
"default_user_role": "pending",
"default_group_id": "",
"watermark": "",
"enable_community_sharing": true,
"enable_message_rating": true,
"enable_user_webhooks": true,
"banners": []
},
"auth": {
"enable_api_keys": false,
"api_key": {
"endpoint_restrictions": false,
"allowed_endpoints": ""
},
"jwt_expiry": "4w",
"admin": {
"show": true,
"email": null
}
},
"ollama": {
"enable": true,
"base_urls": ["http://localhost:11434"],
"api_configs": {}
},
"openai": {
"enable": true,
"api_keys": [],
"api_base_urls": ["https://api.openai.com/v1"],
"api_configs": {}
},
"models": {
"base_models_cache": false,
"default_metadata": {},
"default_params": {}
},
"tool_server": {
"connections": []
},
"direct": {
"enable": false
},
"webui": {
"url": ""
}
}
⌘I