Skip to main content
GET
Dependency-internal crypto inventory for one component

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

projectId
string<uuid>
required

Query Parameters

purl
string
required

The base purl (no version) of the declared dependency whose embedded crypto is requested — the same purl recorded on that dependency's own resolution scope.

Response

Dependency-internal crypto inventory for this purl.

Dependency-internal crypto inventory for one purl-scoped dependency. Read-only evidence: none of these assets carry a Decide verb of their own.

assets_total
integer
required

Distinct content-identified crypto assets embedded in this dependency.

Required range: x >= 0
findings_total
integer
required

Rule-level crypto finding rows (occurrence × rule) embedded in this dependency.

Required range: x >= 0
files_total
integer
required

Distinct dependency-internal files carrying at least one crypto asset.

Required range: x >= 0
assets
object[]
required