GET
/datasets/tagsList knowledge base tags
Lists all knowledge base tags in the workspace. Use this endpoint to retrieve each tag’s identifier, display name, type, and number of knowledge bases it is bound to.
200Returns an array of knowledge base tags, each with its identifier, display name, type, and binding count.
binding_countstringoptional
Number of knowledge bases bound to this tag.
idstringoptional
Tag identifier.
namestringoptional
Tag display name.
typestringoptional
Tag type. Always `knowledge` for knowledge base tags.
403Returned when the API key is scoped to specific knowledge bases and does not have access to all knowledge bases.
One documented failure
forbiddenThe API key is not authorized to access this knowledge base.
forbidden (key scope)
Error handling
A 403 is returned when the API key is scoped to specific knowledge bases. Use a key with access to all knowledge bases to list tags.