For the complete documentation index, see llms.txt. This page is also available as Markdown.

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(クエリパラメータ):1 ページあたりの項目数

レスポンス:

{
  "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?