Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Netlify Build API

The Build API from Netlify — 4 operation(s) for build.

Netlify Build API is one of 35 APIs that Netlify publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Build. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and a getting-started guide.

This API exposes 5 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 2.33.1.

Requests are made against a single base URL, https://api.netlify.com/api/v1.

5 operations 4 paths 4 schemas 3 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2.33.1
Base URL
https://api.netlify.com/api/v1/
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Netlify Build API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (netlifyAuth) using the implicit flow. By default, every request must be authenticated.

Paths & Operations 5

Across 4 paths, the API surfaces 5 operations — 3 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Build 5
GET
/sites/{site_id}/builds
listSiteBuilds 3 params → 200default
POST
/sites/{site_id}/builds
createSiteBuild 1 param body → 200default
GET
/builds/{build_id}
getSiteBuild 1 param → 200default
POST
/builds/{build_id}/start
notifyBuildStart 3 params → 204default
GET
/{account_id}/builds/status
getAccountBuildStatus 1 param → 200default

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are build (6 properties), buildStatus (5 properties), error (2 properties), buildSetup (2 properties). Each schema is shown below with its type and property counts.

buildStatus
object
5 properties
buildSetup
object
2 properties
error
object
2 properties 1 required
build
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

netlify-build-api-openapi.yml Raw ↑

Other APIs Netlify publishes across the network.

Netlify accessToken API
Netlify accountMembership API
Netlify accountType API
Netlify Asset API
Netlify assetPublicSignature API
Netlify auditLog API
Netlify buildHook API
Netlify buildLogMsg API
Netlify Deploy API
Netlify deployedBranch API
Netlify deployKey API
Netlify devServer API