Skip to main content
GET
/
ai
/
agents
/
{agent_id}
/
sub-agents
List agent sub-agents
curl --request GET \
  --url https://api.wacht.dev/ai/agents/{agent_id}/sub-agents \
  --header 'Authorization: <api-key>'
[
  {
    "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": {}
  }
]

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

agent_id
string
required

AI Agent ID

Response

200 - application/json

List of sub-agents

id
string

Agent ID

Example:

"1234567890123456789"

created_at
string<date-time>

Creation timestamp

Example:

"2024-01-15T10:30:00Z"

updated_at
string<date-time>

Last update timestamp

Example:

"2024-01-15T10:30:00Z"

deployment_id
string

Deployment ID

Example:

"9876543210987654321"

name
string

Agent name

Example:

"Customer Support Agent"

description
string | null

Agent description

Example:

"Handles customer inquiries"

configuration
object

Agent configuration