---
title: "List an agent's sub-agents"
method: GET
path: "/api/v1/agents/{agent_id}/sub-agents"
tags: ["agents"]
---

# List an agent's sub-agents

`GET /api/v1/agents/{agent_id}/sub-agents`

## Request

- Base URL: `https://cp.xenovia.io` (the document declares no server; this is the origin it was published from)
- URL: `https://cp.xenovia.io/api/v1/agents/{agent_id}/sub-agents`
- Auth: none declared

The agent's inline sub-agents, with how many guardrails, capabilities
and keys are scoped to each, and its linked sub-agents (the agents it may
call), oldest first.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `Authorization` string, nullable

## Response `200`

Successful Response

- SubAgentList
  - `inline` InlineSubAgentRead[]
    - `id` string, uuid, required
    - `kind` 'inline'
    - `name` string, required
    - `description` string, nullable, required
    - `created_at` string, date-time, required
    - `checks_count` integer
    - `capabilities_count` integer
    - `keys_count` integer
  - `linked` LinkedSubAgentRead[]
    - `id` string, uuid, required
    - `kind` 'linked'
    - `agent_id` string, uuid, required
    - `agent_name` string, nullable, required
    - `agent_status` 'draft' | 'active', required
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-26** `3e25bef24f8f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xenovia/apis/controlplane/changes/api/v1/agents/:agent_id/sub-agents/get.md)

---

[API](https://skmtc.dev/xenovia/apis/controlplane.md) - [All operations](https://skmtc.dev/xenovia/apis/controlplane/llms.txt) - [OpenAPI document](https://skmtc.dev/xenovia/apis/controlplane/revisions/3e25bef24f8f?raw)
