GET
/
ai-agents
/
{agent_id}
Get AI Agent
curl --request GET \
  --url https://api.wacht.dev/ai-agents/{agent_id} \
  --header 'Authorization: Bearer <token>'
{
  "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

Path Parameters

agent_id
string
required

(i64 formatted as string)

Response

Successful response

The response is of type object.