| title: REST API endpoints for software bill of materials (SBOM) | |
| shortTitle: Software bill of materials (SBOM) | |
| intro: Use the REST API to export the software bill of materials (SBOM) for a repository. | |
| versions: | |
| fpt: '*' | |
| ghec: '*' | |
| ghes: '*' | |
| topics: | |
| - API | |
| autogenerated: rest | |
| allowTitleToDifferFromFilename: true | |
| {% data reusables.dependency-graph.sbom-export %} | |
| This article gives details about the REST API endpoint. | |
| {% ifversion ghes %} | |
| > [!NOTE] | |
| > {% data variables.product.prodname_ghe_server %} does not retrieve license information for dependencies, and does not calculate information about dependents, the repositories and packages that depend on a repository. These fields will not be populated in the response. | |
| {% endif %} | |
| <!-- Content after this section is automatically generated --> | |