> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# 所有数据库状态

> 获取所有数据库的状态。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  你账户的 API 密钥。你可以在[账户设置](https://squarecloud.app/zh/account/security)中找到它。
</ParamField>

### 响应

<ResponseField name="status" type="string">
  指示调用是否成功。成功时为 `success`，否则为 `error`。
</ResponseField>

<ResponseField name="response" type="array">
  响应内容。

  <Expandable title="展开对象">
    <ResponseField name="id" type="string">
      数据库的 ID。
    </ResponseField>

    <ResponseField name="running" type="boolean">
      表示是否正在运行的布尔值。
    </ResponseField>

    <ResponseField name="cpu" type="string">
      当前 CPU 使用率百分比。
    </ResponseField>

    <ResponseField name="ram" type="string">
      当前 RAM 使用量
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
      "status": "success",
      "response": [
          {
              "id": "a14b8d5e1cb7405a851eb4c075506121",
              "running": true,
              "ram": "118.95MB",
              "cpu": "0.40%"
          }
      ]
  }
  ```
</ResponseExample>
