API 参考

面向开发者的完整 API 文档。

API 概览

借助 Respondo API,您可以用编程方式把 AI 驱动的支持能力集成到自己的应用中。

身份认证

所有 API 请求都需要使用 Bearer 令牌进行认证:

Authorization: Bearer YOUR_API_TOKEN

基础 URL

https://api.respondo.ai/api/v1

核心端点

对话

POST /chat
{
  "agent_id": "uuid",
  "message": "string",
  "conversation_id": "uuid (optional)"
}

智能体

GET /agents - List all agents
POST /agents - Create new agent
GET /agents/:id - Get agent details
PUT /agents/:id - Update agent
DELETE /agents/:id - Delete agent

知识

GET /knowledge/sources - List sources
POST /knowledge/sources - Create source
POST /knowledge/upload - Upload document
DELETE /knowledge/sources/:id - Delete source

速率限制

每个 API 密钥的请求上限为每分钟 100 次。

需要帮助?

我们的团队随时为您提供帮助,助您充分用好 Respondo。