- logs
- stats
- system
- settings
- plugins
- user
- provider
- pipelines
- platform
- files
- knowledge
获取可用的请求器列表
测试中
GET
/api/v1/provider/requesters
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
type
string
可选
示例值:
llm
示 例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/provider/requesters?type=llm'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"data": {
"requesters": [
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "OpenAI",
"zh_CN": "OpenAI"
},
"name": "openai-chat-completions",
"spec": {
"config": [
{
"default": "https://api.openai.com/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "LM Studio",
"zh_CN": "LM Studio"
},
"name": "lmstudio-chat-completions",
"spec": {
"config": [
{
"default": "http://127.0.0.1:1234/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "Ollama",
"zh_CN": "Ollama"
},
"name": "ollama-chat",
"spec": {
"config": [
{
"default": "http://127.0.0.1:11434",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "Anthropic",
"zh_CN": "Anthropic"
},
"name": "anthropic-messages",
"spec": {
"config": [
{
"default": "https://api.anthropic.com/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "Gitee AI",
"zh_CN": "Gitee AI"
},
"name": "gitee-ai-chat-completions",
"spec": {
"config": [
{
"default": "https://ai.gitee.com/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "Aliyun Bailian",
"zh_CN": "阿里云百炼"
},
"name": "bailian-chat-completions",
"spec": {
"config": [
{
"default": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "Volc Engine Ark",
"zh_CN": "火山方舟"
},
"name": "volcark-chat-completions",
"spec": {
"config": [
{
"default": "https://ark.cn-beijing.volces.com/api/v3",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "SiliconFlow",
"zh_CN": "硅基流动"
},
"name": "siliconflow-chat-completions",
"spec": {
"config": [
{
"default": "https://api.siliconflow.cn/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "DeepSeek",
"zh_CN": "深度求索"
},
"name": "deepseek-chat-completions",
"spec": {
"config": [
{
"default": "https://api.deepseek.com",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "ZhipuAI",
"zh_CN": "智谱 AI"
},
"name": "zhipuai-chat-completions",
"spec": {
"config": [
{
"default": "https://open.bigmodel.cn/api/paas/v4",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "Moonshot",
"zh_CN": "月之暗面"
},
"name": "moonshot-chat-completions",
"spec": {
"config": [
{
"default": "https://api.moonshot.com/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
},
{
"description": {
"en_US": ""
},
"icon": "",
"label": {
"en_US": "xAI",
"zh_CN": "xAI"
},
"name": "xai-chat-completions",
"spec": {
"config": [
{
"default": "https://api.x.ai/v1",
"label": {
"en_US": "Base URL",
"zh_CN": "基础 URL"
},
"name": "base-url",
"required": true,
"type": "string"
},
{
"default": 120,
"label": {
"en_US": "Timeout",
"zh_CN": "超时时间"
},
"name": "timeout",
"required": true,
"type": "int"
}
]
}
}
]
},
"msg": "ok"
}
修改于 2025-05-21 03:32:25