/ DOCS
API 文档
REST API · 流式响应 · 兼容 Anthropic SSE 协议
GET
/api/agents列出所有预置 Agent
EXAMPLE
curl https://ai.zmgai.top/api/agents
GET
/api/health健康检查
EXAMPLE
curl https://ai.zmgai.top/api/health
POST
/api/chat流式对话(Anthropic 兼容 SSE)
EXAMPLE
curl -X POST https://ai.zmgai.top/api/chat \
-H "Content-Type: application/json" \
-d '{
"agentId": "coder",
"messages": [
{"role": "user", "content": "用 Python 写个 hello world"}
]
}'⚠️ 使用限制
- • 当前为内测版,无 API key 即可调用
- • 每 IP 速率限制:30 请求/分钟(API),60 请求/分钟(chat)
- • 暂不保存对话历史(刷新即清空)
- • 商业使用请联系:17521621999@163.com