CycloneDX 1.5 JSON
curl -X POST "https://complair.eu/api/v1/sboms?format=cyclonedx_1_5&release_version=1.4.2" \
-H "Authorization: Bearer $COMPLAIR_SBOM_TOKEN" \
-H "Content-Type: application/octet-stream" \
-H "Idempotency-Key: $(uuidgen)" \
--data-binary @sbom.cdx.json
SPDX 2.3 JSON
curl -X POST "https://complair.eu/api/v1/sboms?format=spdx_2_3" \
-H "Authorization: Bearer $COMPLAIR_SBOM_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @sbom.spdx.json
Gemfile.lock
curl -X POST "https://complair.eu/api/v1/sboms?format=manifest_bundler" \
-H "Authorization: Bearer $COMPLAIR_SBOM_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @Gemfile.lock
package-lock.json
curl -X POST "https://complair.eu/api/v1/sboms?format=manifest_npm" \
-H "Authorization: Bearer $COMPLAIR_SBOM_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @package-lock.json
{
"id": 42,
"product_id": 17,
"release_version": "1.4.2",
"format": "cyclonedx_1_5",
"component_count": 318,
"parse_error_count": 0,
"sha256": "9ab8…f01",
"uploaded_at": "2026-05-16T09:42:11Z"
}