Skip to main content
GET
/
v2
/
agents
List agents
curl --request GET \
  --url https://api.plugit.chat/v2/agents \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "title": "<string>",
      "version": "<string>",
      "enabled": true,
      "default_language": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "prompt": "<string>",
      "knowledge": "<string>",
      "tools": [
        {
          "type": "customApi",
          "customApi": {
            "endpoints": [
              {}
            ]
          }
        }
      ],
      "delay": 123,
      "categories": [
        {
          "title": "<string>",
          "criteria": "<string>",
          "webhook": {
            "url": "<string>",
            "headers": {
              "x-api-key": "your-secret"
            }
          },
          "disableAI": true
        }
      ],
      "external_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Success

data
object[]