---
title: "Upload container SBOM"
method: POST
path: "/containers/sbom"
---

# Upload container SBOM

`POST /containers/sbom`

Upload a self-generated SBOM

## Request body

- object
  - `container_image_name` string, required — The name of the image.
  - `sbom` object, required — The SBOM.
  - `tag` string — The tag of the image.
  - `digest` string — The digest of the image.
  - `allow_multiple_tags` boolean — Allow multiple tags for the image to be created. Will create a new container image for each tag. This feature needs to be enabled by Aikido support before it can be used.

## Response `200`

The SBOM has been uploaded and is being scanned.

- object
  - `success` integer, required — The integer 1 indicating success
  - `container_repo_id` integer, required — The container repository id in Aikido. Use with GET /containers/{container_repo_id} to poll scan completion (last_scanned_at).
  - `scan_id` integer, required — The scan audit log id for this upload.

## Other responses

- `400` — One or more of the provided fields are invalid.

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/versions/5445e7c21137/schema)
