Get the workspace taxonomy

GET/api/taxonomy

Returns the whole sidebar in one call: the cabinet (drawers, each with its folders nested inside), root-level folders (those not filed under any drawer), the flat tag list, smart-view counts, and the workspace default upload folder. Requires reports:read. Every count is scoped to the caller: items owned by other accounts under the same owner slug are never counted, and tag counts include descendants with each item counted once. tags is a flat array — each entry carries parent_id and a materialized path (/<ancestor id>/…/<own id>/) so a client can build the tree itself. When a workspace holds more than 500 tags the response carries only the root-level tags and sets lazy to true; the counts on those roots still include their descendants. The response is revalidatable: it carries an ETag (also mirrored in the etag field) that is specific to both the workspace and the caller. Sending it back as If-None-Match yields 304 Not Modified with an empty body.

Query Parameters

ownerstringrequired
Workspace owner slug.