Tags
List tag usage
Per-tag usage counts grouped by target type, scoped to the org.
GET
Per-tag usage counts grouped by target type, scoped to the org.
ApiKeyAuthheader
AuthorizationBearer <token>Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.
Required permission
view_tagsnamespace*stringWhich kind of entity a tag can be applied to. A tag belongs to exactly one namespace.
Value in
"agent""resource"The request has succeeded.
application/json- response
items*array<>curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/tag-usage?namespace=agent'Example Response
{ "items": [ { "tag_id": "39c8a0b3-fbe8-4801-95bf-e8a0792edf1d", "mcp_count": 0, "tool_count": 0, "agent_slug_count": 0 } ]}