Buildpack API Specification

The Buildpack API defines the contract between a buildpack and the lifecycle that executes it. It specifies detect, build, and export phases, layer contribution formats, environment variable handling, and SBOM generation interfaces.

API entry from apis.yml

apis.yml Raw ↑
aid: buildpacks:buildpack-api
name: Buildpack API Specification
description: The Buildpack API defines the contract between a buildpack and the lifecycle that executes
  it. It specifies detect, build, and export phases, layer contribution formats, environment variable
  handling, and SBOM generation interfaces.
humanURL: https://buildpacks.io/docs/reference/spec/buildpack-api/
tags:
- API Specification
- Buildpacks
- Container Images
- OCI
properties:
- type: Documentation
  url: https://buildpacks.io/docs/reference/spec/buildpack-api/
- type: GitHubRepository
  url: https://github.com/buildpacks/spec