---
title: "List agents of a stack profile with inheritance info"
method: GET
path: "/tools/v1/stack-profiles/{profile_id}/agents"
tags: ["curated-stack-profiles"]
---

# List agents of a stack profile with inheritance info

`GET /tools/v1/stack-profiles/{profile_id}/agents`

## Request

- Base URL: `https://api.qualityclouds.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qualityclouds.ai/tools/v1/stack-profiles/{profile_id}/agents`
- Auth: one of:
  - HTTP bearer
  - OpenID Connect (`https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration`)

Return agents with origin, can_remove flag, inherited_from, and full chain.

## Path parameters

- `profile_id` string, uuid, required

## Response `200`

Successful Response

- ProfileAgentsResponse: Full response for the list-agents endpoint.
  - `agents` ProfileAgentResponse[], required
    - `agent_id` string, required
    - `name` string, required
    - `origin` string, required
    - `inherited_from` InheritedFromResponse, required: Identifies the ancestor profile from which an agent was inherited.
      - `id` string, uuid, required
      - `name` string, required
      - `scope_type` string, required
    - `can_remove` boolean, required
    - `ce_types` CeTypeApiItem[]
      - `id` string, required
      - `name` string, required
      - `platform_id` string, required
    - `agent_features` AgentFeatureApiItem[]
      - `id` string, uuid, required
      - `name` string, required
      - `description` string, nullable
  - `inheritance_chain` InheritanceChainNode[], required
    - `id` string, uuid, required
    - `name` string, required
    - `scope_type` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Validation Error

---

[API](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api.md) · [All operations](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/revisions/250c849925af?raw)
