Skip to main content
GET
/
v1
/
ai-agents
List AI agents
curl --request GET \
  --url https://app.chatbotx.io/api/v1/ai-agents \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "prompt": "<string>",
      "messages": [
        "<string>"
      ],
      "isDefault": true,
      "tools": [
        "<string>"
      ],
      "webSearchAuthorizedDomains": [
        "<string>"
      ],
      "models": [
        "<string>"
      ],
      "temperature": -0.5,
      "maxOutputTokens": -1,
      "id": "<unknown>",
      "workspaceId": "<unknown>"
    }
  ],
  "pageCount": 0
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

data
object[]
required
pageCount
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991