跳转到主要内容
GET
/
admin
/
setting
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/admin/setting \
  --header 'Authorization: Bearer <token>'
{
  "instanceId": "<string>",
  "brandName": "<string>",
  "brandLogo": "<string>",
  "disallowSignUp": true,
  "disallowSpaceCreation": true,
  "disallowSpaceInvitation": true,
  "disallowDashboard": true,
  "enableEmailVerification": true,
  "enableWaitlist": true,
  "aiConfig": {
    "llmProviders": [],
    "embeddingModel": "<string>",
    "translationModel": "<string>",
    "chatModel": {
      "lg": "<string>",
      "md": "<string>",
      "sm": "<string>",
      "ability": {
        "image": true,
        "pdf": true,
        "webSearch": true
      }
    },
    "capabilities": {
      "disableActions": [
        "<string>"
      ]
    },
    "enable": true
  },
  "notifyMailTransportConfig": {
    "sender": "<string>",
    "host": "<string>",
    "port": 123,
    "auth": {
      "user": "<string>",
      "pass": "<string>"
    },
    "senderName": "<string>",
    "secure": true
  },
  "automationMailTransportConfig": {
    "sender": "<string>",
    "host": "<string>",
    "port": 123,
    "auth": {
      "user": "<string>",
      "pass": "<string>"
    },
    "senderName": "<string>",
    "secure": true
  },
  "appConfig": {
    "apiKey": "<string>",
    "vercelToken": "<string>",
    "customDomain": "<string>",
    "creditCount": 1,
    "v0BaseUrl": "<string>",
    "vercelBaseUrl": "<string>",
    "aiGatewayApiKey": "<string>"
  },
  "webSearchConfig": {
    "apiKey": "<string>"
  },
  "createdTime": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json

Returns the instance settings.

instanceId
string
必填
brandName
string | null
brandLogo
string | null
disallowSignUp
boolean | null
disallowSpaceCreation
boolean | null
disallowSpaceInvitation
boolean | null
disallowDashboard
boolean | null
enableEmailVerification
boolean | null
enableWaitlist
boolean | null
aiConfig
object
notifyMailTransportConfig
object
automationMailTransportConfig
object
appConfig
object
webSearchConfig
object
createdTime
string
Last modified on December 10, 2025