LogoLogo
註冊/登入
  • 使用者手冊
  • 技術人員手冊
  • API 文件
  • AI 助理市集
  • 歡迎來到 MaiAgent
  • 生成式 AI 快速入門
    • 大型語言模型(LLM)
    • RAG 知識庫檢索系統
    • Embedding 模型
    • Reranker 模型
    • Parser 解析工具
    • 圖像辨識支援
    • 使用環境規劃(SaaS/私有雲/地端)
    • GPU 算力硬體規劃
  • 進階生成式 AI 技術
    • Text to SQL
    • Function Calling
    • Canvas
    • AI 安全防護機制
  • AI 助理模組
    • 角色指令
    • 知識庫
    • FAQ 常見問題管理
    • 回覆評估與監測結果
    • AWS Guardrails
  • API 串接
    • 快速上手
    • AI 助理列表
    • 對話與訊息回覆(串流/同步)
    • 建立對話與訊息
    • Webhook
    • 檔案上傳
    • 檔案上傳知識庫
    • 附件上傳
  • Line LIFF 串接
    • 什麼是 LINE LIFF
    • 如何串接
  • Remote MCP 串接
    • Remote MCP 服務概述
    • Composio 串接
  • 其他
    • Google Sheet 串接
    • n8n 串接
    • MaiAgent vs. Dify 比較
Powered by GitBook
On this page
  • 認證方式
  • 端點

Was this helpful?

  1. API 串接

AI 助理列表

基礎 URL: https://api.maiagent.ai/api

認證方式

所有 API 請求都需要在標頭中使用 API 金鑰進行認證:

Authorization: Api-Key YOUR_API_KEY

端點

1. 取得對話機器人列表

取得可用的對話機器人列表。

curl -X GET \
  'https://api.maiagent.ai/api/v1/chatbots/?page=1&pageSize=10' \
  -H 'Authorization: Api-Key YOUR_API_KEY'

參數:

  • page (查詢參數):分頁頁碼

  • pageSize (查詢參數):每頁項目數

回應:

{
  "count": "integer",
  "next": "string|null",
  "previous": "string|null",
  "results": [
    {
      "id": "string",
      "name": "string",
      "largeLanguageModel": {
        "id": "string",
        "name": "string",
        "isDefault": "boolean"
      },
      "rag": {
        "id": "string",
        "name": "string",
        "isDefault": "boolean",
        "isEmbeddingModelSelectable": "boolean",
        "isRerankerModelSelectable": "boolean"
      },
      "embeddingModel": {
        "id": "string",
        "name": "string",
        "isDefault": "boolean"
      },
      "rerankerModel": {
        "id": "string",
        "name": "string",
        "isDefault": "boolean"
      },
      "updatedAt": "string"
    }
  ]
}

2. 建立對話完成

Previous快速上手Next對話與訊息回覆(串流/同步)

Last updated 3 months ago

Was this helpful?