Skip to main content
GET
/
ai
/
agents
List AI agents
curl --request GET \
  --url https://api.wacht.dev/ai/agents \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "1234567890123456789",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z",
      "deployment_id": "9876543210987654321",
      "name": "Customer Support Agent",
      "description": "Handles customer inquiries",
      "configuration": {},
      "tools_count": 5,
      "knowledge_bases_count": 2
    }
  ],
  "has_more": false,
  "limit": 50,
  "offset": 0
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Query Parameters

limit
integer
default:50

Number of items to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: x >= 0

Search term to filter agents by name or description

Response

200 - application/json

List of AI agents

data
object[]
required
has_more
boolean

Whether there are more items

limit
integer | null

Optional page limit

offset
integer | null

Optional offset