Count Agents and their mounted resources by business space. Agent-centric: each value is the deduplicated count of resources mounted on Agents.
Prerequisites
Configure the endpoint and authentication first. See API overview and authentication.
Endpoint
GET /asset_summary
Count Agents and their mounted resources by business space. No input parameters. Agent-centric: each value is the deduplicated count of resources mounted on Agents.
Request example
BASE_URL is https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/agentstudio/security, and BAILIAN_API_KEY is your Alibaba Cloud Bailian API Key.
Response body
| Field | Type | Description |
|---|---|---|
agent_count | integer | Total number of Agents (Managed Agent + Agent 1.0/2.0) |
model | integer | Number of mounted models (deduplicated) |
tool | integer | Number of mounted MCP tools (deduplicated) |
skill | integer | Number of mounted skills (deduplicated, Managed Agent only) |
knowledge_base | integer | Number of mounted knowledge bases (deduplicated, Agent 1.0/2.0 only) |
memory | integer | Number of mounted memory bases (deduplicated, Agent 1.0/2.0 only) |
channel | integer | Number of publishing channels (excluding deleted and expired) |
network | integer | Number of web search types (deduplicated by model, only counted when enable_web_search=true) |
identity | integer | Number of persona types (deduplicated by name) |
Fields with no available data return
null instead of 0.