Get SBOM for a package derivation
Get SBOM (Software Bill of Materials) for a package derivation.
Args: derivation: The derivation filename without /nix/store/ prefix (e.g., "abc123def-foo-1.0.drv") outputs: Optional comma-separated list of outputs (e.g., "out,bin,dev"). If omitted, includes the package's default outputs from derivation metadata. Must be alphanumeric with underscores only, max 100 chars total. format: SBOM format (defaults to SbomFormat.SPDX_2_3_JSON) body: Request body (reserved for future extension) user: Authenticated user context cache: Request-scoped dependency cache (injected)
Returns: SBOM document in the requested format
Path parameters
Query parameters
Comma-separated list of output names (e.g., 'out,bin,dev')
Comma-separated list of output names (e.g., 'out,bin,dev')
Supported SBOM format types.
Request body
Request body for package SBOM endpoint (reserved for future extension).
Response
SBOM for the given package derivation