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

# 积分查询接口

### 请求信息

* **方法**: GET
* **URL**: `https://api.superaiglobal.com/v1/queryCredit`

### 请求头

| 字段            | 值                       | 描述                                    |
| ------------- | ----------------------- | ------------------------------------- |
| Content-Type  | application/json        | 数据交换格式                                |
| Authorization | Bearer `{your api key}` | 将 `{your api key}` 替换为您的 Bearer token |

### 请求示例

```bash theme={null}
curl -X GET "https://api.superaiglobal.com/v1/queryCredit" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your_api_key_here"
```

### 响应体

| 字段                   | 类型     | 描述                      |
| :------------------- | :----- | :---------------------- |
| code                 | String | 状态码，成功时为 200，异常情况见错误码列表 |
| message              | String | 提示信息                    |
| data                 | Object | 响应数据                    |
| data.userId          | Number | 用户 ID                   |
| data.availableCredit | Number | 当前可用积分                  |

### 响应示例

#### 成功

```json theme={null}
{
  "code": "200",
  "message": "success",
  "data": {
    "userId": 1,
    "availableCredit": 0
  }
}
```
