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. 建立對話完成
Last updated
Was this helpful?