Get SBOM

GET /sscs/sboms/{sbomId}

Scope sbom:read Plan Growth+

Fetch one SBOM by id, including its component count and the per-severity finding counts refreshed by the last CVE matching run. Requires the sbom:read scope.

Example

curl "https://api.autociso.io/api/v1/sscs/sboms/<sbomId>" \
  -H "Authorization: Bearer <your-api-token>"

Response 200

{
  "data": {
    "sbomId": "sbom_example000001",
    "orgId": "org_example000001",
    "name": "example-service",
    "version": "2026.9.1",
    "source": "go.sum",
    "sourceRef": "go.sum",
    "componentCount": 184,
    "findingsCritical": 1,
    "findingsHigh": 4,
    "findingsMedium": 11,
    "findingsLow": 6,
    "lastMatchedAt": "2026-09-08T02:14:00Z",
    "createdAt": "2026-09-01T09:32:41Z",
    "updatedAt": "2026-09-08T02:14:00Z"
  }
}

Path parameters

  • sbomId string required
    SBOM id.

Returns

The data field of the standard { data, error, meta } envelope:

  • sbomId string
  • orgId string required
  • name string required
    Product or repository name.
  • version string
  • assetId string
    Linked asset id, when the SBOM belongs to a known asset.
  • source string required
    How the SBOM was ingested.
    15 values
    "go.sum" | "pom.xml" | "build.gradle" | "package.json" | "requirements.txt" | "csproj" | "Cargo.lock" | "Gemfile.lock" | "composer.lock" | "Podfile.lock" | "Package.resolved" | "pubspec.lock" | "cyclonedx" | "spdx" | "manual"
  • sourceRef string
    Git SHA, CI build id or filename.
  • repoUrl string
  • branch string
  • commitSha string
  • componentCount integer required
    minimum 0
  • findingsCritical integer required
    minimum 0
  • findingsHigh integer required
    minimum 0
  • findingsMedium integer required
    minimum 0
  • findingsLow integer required
    minimum 0
  • lastMatchedAt string (date-time)
    Time of the last CVE matching run; absent before the first run.
  • createdAt string (date-time) required
  • updatedAt string (date-time) required

Errors

Status Code Retry Meaning
401 INVALID_TOKEN no Missing (UNAUTHORIZED) or invalid, expired or revoked (INVALID_TOKEN) token.
402 FEATURE_GATED no The tenant plan does not include supply chain security. code FEATURE_GATED; args.feature, args.minTier, args.minTierName.
403 INSUFFICIENT_SCOPE no The token lacks the required scope (INSUFFICIENT_SCOPE) or the request is refused (FORBIDDEN).
404 NOT_FOUND no Unknown or foreign-tenant SBOM id. code NOT_FOUND.
429 RATE_LIMITED yes Too many failed authentication attempts from this address. code RATE_LIMITED; wait Retry-After seconds.
500 DB_ERROR no Unexpected server error. code DB_ERROR (or VALIDATION_ERROR when the request could not be validated); quote error.id to support.
503 BILLING_UNAVAILABLE yes Billing is temporarily unavailable, so the plan could not be checked. code BILLING_UNAVAILABLE. Retry later.
Last reviewed: 2026-10-13

Was this page helpful?

Esc