Operations
A reference list of the queries and mutations these docs cover. The API schema is larger than this. These are the operations relevant to uploading, downloading, and managing SBOMs.
The production endpoint does not support introspection, so use this page as the operation reference.
Queries
sbom(projectId, sbomId)
A single version: metadata, authors, suppliers, components, download, vulns.
Key fields on sbom
sbomThe sbom query resolves a version. Useful fields on it:
id
The version ID (sbomId).
projectVersion
The version string, for example 3.0.2.
vulnRunStatus
Vulnerability scan status. FINISHED when done.
primaryComponent { name version }
The component the SBOM describes.
authors { id name email phone }
SBOM authors.
suppliers { ... }
SBOM suppliers.
components(sbomId, first, after, search)
Paginated components in the SBOM.
vulns(sbomId, first, after)
Paginated vulnerabilities.
download(sbomId, ...)
The SBOM file. See Download.
The sbom query also accepts projectName, projectGroupName, and versionName as an alternative to projectId and sbomId.
Mutations
Mutation response pattern
Every mutation returns an errors list. An empty list means success. Most also return the object they changed. Always request errors and check it. See Errors.
Looking for the rest of the schema?
These docs cover SBOM lifecycle operations. The platform exposes more, for example policies, automation rules, and integrations. If you need an operation that is not listed here, contact [email protected].
Last updated