Title
Create new category
Edit page index title
Edit category
Edit link
Tags and Labels Guide
This guide covers catalog asset tags and asset labels in ADOC using the Python SDK. Tags are named markers attached to catalog assets. Labels are key-value metadata pairs you can use for ownership, environment, or other custom attributes.
Asset Tags
Asset tags are catalog-level tags associated with a single asset. You can work with them on AdocClient (by numeric asset ID) or on an AssetResource returned from client.get_asset(...).
Method | Description |
|---|---|
| List tags on an asset. |
| Add a tag to an asset. |
Both approaches return AssetTagInfo objects with fields such as name, id, classification, enabled, and processing_status. Use tag.to_dict() for the full API-shaped payload.
List and Add Tags (Client)
AssetTagRequest accepts name (create or reference by name) or id (reference an existing tag by numeric ID).
List and Add Tags (Asset Resource)
When you already have an AssetResource, call the same operations without passing asset_id again:
AdocClient.get_asset_tags and AssetResource.get_asset_tags return the same tag names for a given asset.
Asset Labels
Asset labels are key-value pairs stored on a catalog asset. Read them with get_asset_labels, and set or update them with add_asset_labels.
Method | Description |
|---|---|
| List labels on an asset. |
| Set or update labels. |
Each label is a Label with key and value. The update call accepts one or more labels in a single request.
List and Add Labels (Client)
Add Multiple Labels at Once
Labels via Asset Resource
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2025