Tags
List tag assignments
List all tag assignments for a given target_type in the org.
GET
List all tag assignments for a given target_type in the org.
ApiKeyAuthheader
AuthorizationBearer <token>Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.
Required permission
view_tagstarget_type*stringThe kind of entity a tag is assigned to.
Value in
"agent_slug""mcp""tool"The request has succeeded.
application/json- response
items*array<>curl -X GET 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/tag-assignments/agent_slug'Example Response
{ "items": [ { "target_key": "string", "tag_ids": [ "f822a538-5d10-4249-89b6-dd557ee5945e" ], "catalog_tag_ids": [ "6fe79125-f632-436e-991b-fb898e2ac3f4" ] } ]}