Get tag histogram for filtered assets
Returns a histogram of tags appearing on assets matching the given filters. Useful for refining asset searches by showing available tags and their counts. Only returns tags with non-zero counts (tags that exist on matching assets).
Authorizations
API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.
Query Parameters
Filter assets that have ALL of these tags
Exclude assets that have ANY of these tags
Filter assets where name contains this substring (case-insensitive)
JSON object for filtering by metadata fields
Maximum number of tags to return (1-1000, default 100)
1 <= x <= 1000Whether to include public/shared assets in results
Response
Success - Tag histogram returned
Map of tag names to their occurrence counts on matching assets
{ "checkpoint": 32, "lora": 193, "vae": 6 }