Heroku Builds API

Build management

Operations 3

GET /apps/{app_id_or_name}/builds List builds #
POST /apps/{app_id_or_name}/builds Create a build #
GET /apps/{app_id_or_name}/builds/{build_id} Get build info #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/heroku-builds-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

heroku-builds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Account Builds API
  description: The Heroku Platform API enables programmatic access to Heroku's deployment platform. Manage apps, dynos, add-ons, config vars, domains, pipelines, releases, and other platform resources.
  version: '3'
  contact:
    name: Heroku
    url: https://devcenter.heroku.com/
  license:
    name: Proprietary
    url: https://www.heroku.com/policy/tos
servers:
- url: https://api.heroku.com
  description: Heroku Platform API
security:
- BearerAuth: []
tags:
- name: Builds
  description: Build management
paths:
  /apps/{app_id_or_name}/builds:
    get:
      operationId: listBuilds
      summary: List builds
      tags:
      - Builds
      parameters:
      - $ref: '#/components/parameters/appIdOrName'
      responses:
        '200':
          description: List of builds
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Build'
    post:
      operationId: createBuild
      summary: Create a build
      tags:
      - Builds
      parameters:
      - $ref: '#/components/parameters/appIdOrName'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - source_blob
              properties:
                buildpacks:
                  type: array
                  items:
                    type: object
                    properties:
                      url:
                        type: string
                      name:
                        type: string
                source_blob:
                  type: object
                  required:
                  - url
                  properties:
                    checksum:
                      type: string
                    url:
                      type: string
                    version:
                      type: string
      responses:
        '201':
          description: Build created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Build'
  /apps/{app_id_or_name}/builds/{build_id}:
    get:
      operationId: getBuild
      summary: Get build info
      tags:
      - Builds
      parameters:
      - $ref: '#/components/parameters/appIdOrName'
      - name: build_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Build details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Build'
components:
  schemas:
    Build:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - failed
          - pending
          - succeeded
        app:
          type: object
          properties:
            id:
              type: string
              format: uuid
        buildpacks:
          type: array
          items:
            type: object
            properties:
              url:
                type: string
              name:
                type: string
        output_stream_url:
          type: string
          format: uri
        release:
          type: object
          nullable: true
          properties:
            id:
              type: string
              format: uuid
        slug:
          type: object
          nullable: true
          properties:
            id:
              type: string
              format: uuid
        source_blob:
          type: object
          properties:
            checksum:
              type: string
              nullable: true
            url:
              type: string
            version:
              type: string
              nullable: true
        user:
          type: object
          properties:
            email:
              type: string
            id:
              type: string
              format: uuid
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  parameters:
    appIdOrName:
      name: app_id_or_name
      in: path
      required: true
      schema:
        type: string
      description: App ID (UUID) or app name
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Heroku API key or OAuth token