GET
The licence composition of the estate, or of one asset

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Query Parameters

asset_id
string<uuid>

Limit to one asset. Omit for the whole estate.

max_components
integer
Required range: 1 <= x <= 200000
allow_categories
string

Comma-separated obligation classes the policy accepts. An unrecognised class is REFUSED rather than ignored: a policy that silently became "allow nothing extra" would either block everything or block nothing, with no way to tell which.

allow
string

Comma-separated licences accepted regardless of class.

deny
string

Comma-separated licences refused regardless of class.

Response

The licence inventory and, when a policy was given, its violations.

The response is of type object.