cURL
curl --request GET \ --url http://localhost:5300/api/v1/provider/providers \ --header 'X-API-Key: <api-key>'
{ "code": 0, "data": { "providers": [ { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "OpenAI", "requester": "openai-chat-completions", "base_url": "https://api.openai.com/v1", "api_keys": [ "<string>" ], "llm_count": 123, "embedding_count": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] } }
获取所有模型供应商列表,包含每个供应商关联的 LLM 和 Embedding 模型数量。
Documentation IndexFetch the complete documentation index at: https://docs.langbot.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.langbot.app/llms.txt
Use this file to discover all available pages before exploring further.
成功
0
Show child attributes