Tham chiếu API
Tài liệu API đầy đủ dành cho lập trình viên.
Tổng quan API
API Respondo cho phép bạn tích hợp hỗ trợ chạy bằng AI vào ứng dụng của mình bằng mã lệnh.
Xác thực
Mọi yêu cầu API đều cần xác thực bằng Bearer token:
Authorization: Bearer YOUR_API_TOKEN
URL gốc
https://api.respondo.ai/api/v1
Các endpoint chính
Chat
POST /chat
{
"agent_id": "uuid",
"message": "string",
"conversation_id": "uuid (optional)"
}
Agent
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
Kiến thức
GET /knowledge/sources - List sources
POST /knowledge/sources - Create source
POST /knowledge/upload - Upload document
DELETE /knowledge/sources/:id - Delete source
Giới hạn tần suất
Yêu cầu API bị giới hạn ở 100 yêu cầu mỗi phút cho mỗi khóa API.