v1
latestOpenAPI 3.0.32026-07-22238629559.2 KBSupplyChain2Service
Generate a project's SBOM
Starts a job to asynchronously generate a Software Bill of Materials (SBOM) for a given project. It does not return the SBOM itself, only schedules the job and returns a task JWT.
The Tasks Service can accept the task token to get the status and result of the job.
post/api/sca/deployments/{deploymentId}/sbom_async
Path parameters
deploymentIdstring int64 required
Deployment ID (numeric). Example: 123. Can be found at /deployments, or in your Settings in the web UI.
Request body
Example request
{
"ref": "refs/pull/1234/merge",
"formatVersion": {
"cyclonedxVersion": "SBOM_CYCLONE_DX_VERSION_V1_7"
},
"sbomOutputFormat": "SBOM_OUTPUT_FORMAT_JSON"
}Response
Accepted