Skip to main content
GET
List a project's SBOM snapshots (newest first)

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

scanId
string<uuid>

Filter to snapshots produced from a specific scan.

Response

The project's snapshots, newest first.

snapshots
object[]
required
default_includes
enum<string>[]

The sections a generate request that names no include and no annex format would mint for this caller: OSS and AI, narrowed to the AI entitlement of the organization and to the scanners the caller may see. The same rule generate applies, so a client that wants "the default export" reuses the snapshot whose includes equal it. Absent from servers that predate it. $ref: "#/components/schemas/Snapshot"

A section a snapshot holds. oss is the open-source components (an SBOM), crypto the cryptographic assets (a CBOM), ai the identified AI models (an AIBOM).

Available options:
oss,
crypto,
ai