GET
/
ai-agents
List AI Agents
curl --request GET \
  --url https://api.wacht.dev/ai-agents \
  --header 'Authorization: Bearer <token>'
{
  "total": 100,
  "page": 1,
  "per_page": 20,
  "total_pages": 5,
  "data": [
    {
      "id": "<string>",
      "name": "Customer Support Agent",
      "description": "AI agent for handling customer support inquiries",
      "model": "gpt-4",
      "system_prompt": "<string>",
      "temperature": 0.7,
      "max_tokens": 1000,
      "tools": [
        "<string>"
      ],
      "knowledge_bases": [
        "<string>"
      ],
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Query Parameters

page
integer
default:1
per_page
integer
default:20
is_active
boolean

Response

Successful response

The response is of type object.