---
title: "Request generation of a software bill of materials (SBOM) for a repository."
method: GET
path: "/repos/{owner}/{repo}/dependency-graph/sbom/generate-report"
tags: ["dependency-graph"]
---

# Request generation of a software bill of materials (SBOM) for a repository.

`GET /repos/{owner}/{repo}/dependency-graph/sbom/generate-report`

Triggers a job to generate a software bill of materials (SBOM) for a repository in SPDX JSON format.

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `201`

Response

- object
  - `sbom_url` string — URL to poll for the SBOM export result.

## Other responses

- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/revisions/dc0584ac4e13/schema)
