---
title: "获取服务配置"
method: GET
path: "/api/v1/server/config"
tags: ["【服务】配置信息"]
---

# 获取服务配置

`GET /api/v1/server/config`

返回当前服务的产品形态、SaaS 区域和版本信息，用于前端区分部署形态和升级状态。

## Response `200`

获取成功

- object
  - `code` integer
  - `data` DomainServerConfig
    - `captcha_enabled` boolean — CaptchaEnabled 是否启用 captcha 验证。
    - `current_version` string — CurrentVersion 当前服务版本。
    - `edition` 'saas' | 'private'
    - `latest_version` string — LatestVersion 最新可用版本。
    - `region` 'cn' | 'global'
  - `message` string

## Other responses

- `500` — 服务器内部错误

---

[API](https://skmtc.net/chaitin/apis/untitled-api.md) · [All operations](https://skmtc.net/chaitin/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaitin/untitled-api/revisions/5a5929cb17f2/schema)
