- 后台接口
- 前台接口
- 【新】后台接口
- AI设置
- AI知识库
- 模型计费(旧)
- 模型管理
- 对话管理
- 创作管理
- 充值套餐
- 注册奖励
- 用户管理
- 用户分组
- 财务中心
- 其它接口
- 系统设置
- AI音乐
- AI搜索
- AIPPT
- 会员套餐
- 思维导图
- AI视频
- 分享设置
- 空间设置
- 任务分享记录
- AI绘画
- 广场分类
- 【新】前台接口
密钥列表
开发中
GET
/adminapi/setting.keyPool/lists
请求参数
Query 参数
type
integer
可选
示例值:
1
channel
string
可选
示例值:
gpt3.5
keyword
string
关键词
示例值:
11
start_time
string
开始时间
示例值:
2023-10-10 11:00:00
end_time
string
结束时间
示例值:
2023-10-12 11:00:00
status
string
状态
示例值:
1
Header 参数
token
string
可选
示例值:
{{admin-token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/setting.keyPool/lists?type=1&channel=gpt3.5&keyword=11&start_time=2023-10-10 11:00:00&end_time=2023-10-12 11:00:00&status=1' \
--header 'token: {{admin-token}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {11}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
object
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 6,
"type": 1,
"channel": "通义千问",
"model_id": 6,
"key": "11",
"api": "",
"notice": "",
"remark": " ",
"status": 1,
"create_time": "2024-05-24 18:24:54",
"update_time": "2024-05-24 18:24:54"
},
{
"id": 5,
"type": 1,
"channel": "文心一言",
"model_id": 5,
"key": "sk-556ed34259e747309f83dcf547c4f64b",
"api": "",
"notice": "",
"remark": " ",
"status": 1,
"create_time": "2024-05-24 18:24:54",
"update_time": "2024-05-24 18:24:54"
},
{
"id": 4,
"type": 1,
"channel": "智普清言",
"model_id": 4,
"key": "DLge6P5AaIt3KTiy6vXKvEnE",
"api": "",
"notice": "",
"remark": " ",
"status": 1,
"create_time": "2024-05-24 18:24:54",
"update_time": "2024-05-24 18:24:54"
},
{
"id": 3,
"type": 1,
"channel": "科大讯飞",
"model_id": 3,
"key": "58f6dea8ff6a5bfe9a9c50a4b4786621.GHk4ncWTt6zfgNSr",
"api": "",
"notice": "",
"remark": " ",
"status": 1,
"create_time": "2024-05-24 18:24:54",
"update_time": "2024-05-24 18:24:54"
},
{
"id": 2,
"type": 1,
"channel": "GPT4.0",
"model_id": 2,
"key": "6fba19c9ab254b650b663f2288204638",
"api": "",
"notice": "",
"remark": " ",
"status": 1,
"create_time": "2024-05-24 18:24:54",
"update_time": "2024-05-24 18:24:54"
},
{
"id": 1,
"type": 1,
"channel": "GPT3.5",
"model_id": 1,
"key": "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",
"api": "",
"notice": "",
"remark": "",
"status": 1,
"create_time": "2024-05-24 18:24:54",
"update_time": "2024-05-24 18:24:54"
}
],
"count": 6,
"page_no": 1,
"page_size": 25,
"extend": {
"template_url": "http://www.php-cw.localhost/resource/template/keyImportTemplate.xlsx"
}
}
}
修改于 2024-05-30 04:09:56