跳转到主要内容
LangBot home page
简体中文
搜索...
⌘K
Home
Cloud
Market
Blog
Roadmap
搜索...
Navigation
Service API
Service API 概述
指南
开发者
API 参考
Service API
Service API 概述
Webhooks
HTTP API Reference
模型 - 大语言模型
模型 - 向量模型
机器人
流水线
知识库
文件
插件
在此页面
获取 API Key
使用 API
Service API
Service API 概述
LangBot 提供了一套供外部服务使用的 API 接口,便于集成。这些接口以 API Key 鉴权,是目前 HTTP API 的子集。要查看前后端通信的 API 文档,请前往
开发
部分。
Service API 目前处于 Beta 阶段,部分接口可能会频繁变动。
获取 API Key
点击 WebUI 侧栏的
API Keys
按钮,创建一个 API Key。
创建后,复制 API Key 并保存。
使用 API
左侧列出了所有可用的 API,您可以填入您的实例地址(后端开放的端口地址,默认为
http://localhost:5300
)和 API Key,然后点击
Try it out
按钮即可调用 API。
Webhooks
⌘I