unlicensed, not guessed.
1. Read the inventory
For the whole estate, or one asset:assets:read. asset_id is the asset’s UUID; anything else is 400. max_components (default 50,000, at most 200,000) bounds how many components are read.
truncated is true, the estate had more components than max_components and the counts are a lower bound. Raise the bound or narrow to one asset rather than reading them as the whole answer.
For the licences of individual components, read the asset’s components (GET /api/v1/assets/{id}/components), each of which carries a licenses list.
2. Licence categories
3. Check a candidate policy
Pass a policy on the request to see what it would flag, before committing to anything. Nothing is stored:allow_categories: the categories that pass. Omitted, every category passes.allow: individual licences that pass even outside those categories.deny: individual licences that fail whatever their category. Licence names match case-insensitively.
policy.violations lists each component in breach with its asset, package URL, licence, category, whether it is a direct dependency, and why. A category that does not exist is refused with 400 and the list of valid ones, rather than silently allowing or blocking everything.
4. Export an SBOM with the licences in it
Auditors and procurement teams usually want a standard document. Export one asset’s inventory, licences included, as CycloneDX 1.5 (the default) or SPDX 2.3:format, not by the Accept header. See API reference → Bills of materials.