---
title: "Generate bulk SBOM"
method: POST
path: "/containers/sbom/generate"
---

# Generate bulk SBOM

`POST /containers/sbom/generate`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/containers/sbom/generate`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `repositories:write`

Returns an SBOM of all packages & licenses found in specified containers

## Request body

- object
  - `format` 'csv' | 'sbom' | 'sbom_spdx': The format of the sbom
  - `include_risk_reason` integer: Flag to include risk reason in CSV export. 1 or 0 indicating true or false
  - `containers` object[], required: An array containing information about the containers
    - `name` string, required: The name of the container repo
    - `tag` string: Optional: The tag of the container repo

## Response `200`

An SBOM of all packages & licenses found in specified containers

- unknown

## Other responses

- `400`: Wrong format for containers
- `404`: No containers are found based on the provided containers

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
