Builds
Get a build
A version's build, by the version's id: the write's build.id, or build.next_id while the API is applying the compiler's changes (that build is Running until its version is saved).
get/v2/builds/{id}
Request
- Base URLhttps://api.codepen.io
- Auth
- HTTP bearer
- or API key in header X-API-Key
Query parameters
waitinteger
Seconds to wait for the build to settle (at most 75). Without it the build is answered as it is.
Response
The build, with output files when it succeeded.
Example response
{
"files": [
{
"name": "app.js",
"path": "/src/app.js"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.