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

# 支持模型列表查询 (GET /v1/models)

> 查询当前网关与令牌可用模型清单及上下文参数

## 获取模型详情

`GET /v1/models/{model}`

获取指定 model 的详情（OpenAI 兼容格式）。

### 请求参数 (Query / Path)

<ParamField path="model" type="string" required>
  模型名称
</ParamField>

### 请求示例 (cURL)

```bash theme={null}
curl "https://socialvision.tisyk.xyz/v1/models/{model}" \
  -H "Authorization: Bearer sk-YOUR_API_KEY"
```

### 响应示例 (200 OK)

```json theme={null}
{
  "id": "string",
  "object": "string",
  "owned_by": "string"
}
```

***

## 列出模型

`GET /v1/models`

返回可用模型列表（OpenAI 兼容格式）。

### 请求示例 (cURL)

```bash theme={null}
curl "https://socialvision.tisyk.xyz/v1/models" \
  -H "Authorization: Bearer sk-YOUR_API_KEY"
```

### 响应示例 (200 OK)

```json theme={null}
{
  "data": [
    {
      "id": "string",
      "object": "string",
      "owned_by": "string"
    }
  ],
  "object": "list"
}
```

***

## 获取令牌支持模型

`GET /v1/models`

列出当前 API 令牌可访问的模型列表。

### 请求参数 (Query / Path)

<ParamField header="content-type" type="string" required>
  请求体 Content-Type，一般为 application/json
</ParamField>

<ParamField header="Authorization" type="string">
  系统令牌
</ParamField>

### 请求示例 (cURL)

```bash theme={null}
curl "https://socialvision.tisyk.xyz/v1/models" \
  -H "Authorization: Bearer sk-YOUR_API_KEY"
```

### 响应示例 (200 OK)

```json theme={null}
{
  "id": "resp_example",
  "object": "response",
  "status": "completed"
}
```

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.