Heroku Slug API
The Slug API from Heroku — 2 operation(s) for slug.
The Slug API from Heroku — 2 operation(s) for slug.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/heroku:heroku-slug-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Heroku Platform Slug API
version: '3'
description: The platform API empowers developers to automate, extend and combine Heroku with other services. Converted mechanically from the provider-published JSON Hyper-Schema at https://api.heroku.com/schema.
contact:
name: Heroku
url: https://devcenter.heroku.com/articles/platform-api-reference
servers:
- url: https://api.heroku.com
security:
- bearerAuth: []
tags:
- name: Slug
paths:
/apps/{app_identity}/slugs/{slug_identity}:
get:
operationId: slugInfo
summary: Info
description: Info for existing slug.
tags:
- Slug
parameters:
- name: app_identity
in: path
required: true
schema:
type: string
- name: slug_identity
in: path
required: true
schema:
type: string
x-hyper-schema-rel: self
x-source: https://api.heroku.com/schema#/definitions/slug/links
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/slug'
/apps/{app_identity}/slugs:
post:
operationId: slugCreate
summary: Create
description: Create a new slug. For more information please refer to Deploying Slugs using the Platform API.
tags:
- Slug
parameters:
- name: app_identity
in: path
required: true
schema:
type: string
x-hyper-schema-rel: create
x-source: https://api.heroku.com/schema#/definitions/slug/links
requestBody:
content:
application/json:
schema:
properties:
buildpack_provided_description:
$ref: '#/components/schemas/slug/definitions/buildpack_provided_description'
checksum:
$ref: '#/components/schemas/slug/definitions/checksum'
commit:
$ref: '#/components/schemas/slug/definitions/commit'
commit_description:
$ref: '#/components/schemas/slug/definitions/commit_description'
process_types:
$ref: '#/components/schemas/slug/definitions/process_types'
stack:
$ref: '#/components/schemas/stack/definitions/identity'
required:
- process_types
type:
- object
responses:
'201':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/slug'
example:
blob:
method: PUT
url: https://api.heroku.com/slugs/1234.tgz
buildpack_provided_description: Ruby/Rack
checksum: SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
commit: 60883d9e8947a57e04dc9124f25df004866a2051
commit_description: fixed a bug with API documentation
created_at: '2012-01-01T12:00:00Z'
id: 01234567-89ab-cdef-0123-456789abcdef
process_types:
web: ./bin/web -p $PORT
size: 2048
stack:
id: 01234567-89ab-cdef-0123-456789abcdef
name: heroku-18
updated_at: '2012-01-01T12:00:00Z'
components:
schemas:
stack:
description: Stacks are the different application execution environments available in the Heroku platform.
$schema: http://json-schema.org/draft-04/hyper-schema
stability: production
strictProperties: true
title: Heroku Platform API - Stack
type:
- object
definitions:
created_at:
description: when stack was introduced
example: '2012-01-01T12:00:00Z'
format: date-time
readOnly: true
type:
- string
default:
description: indicates this stack is the default for new apps
example: true
readOnly: true
type:
- boolean
id:
description: unique identifier of stack
example: 01234567-89ab-cdef-0123-456789abcdef
format: uuid
readOnly: true
type:
- string
identity:
anyOf:
- $ref: '#/components/schemas/stack/definitions/name'
- $ref: '#/components/schemas/stack/definitions/id'
name:
description: unique name of stack
example: heroku-18
readOnly: true
type:
- string
state:
description: 'availability of this stack: beta, deprecated or public'
example: public
readOnly: true
type:
- string
updated_at:
description: when stack was last modified
example: '2012-01-01T12:00:00Z'
format: date-time
readOnly: true
type:
- string
properties:
default:
$ref: '#/components/schemas/stack/definitions/default'
created_at:
$ref: '#/components/schemas/stack/definitions/created_at'
id:
$ref: '#/components/schemas/stack/definitions/id'
name:
$ref: '#/components/schemas/stack/definitions/name'
state:
$ref: '#/components/schemas/stack/definitions/state'
updated_at:
$ref: '#/components/schemas/stack/definitions/updated_at'
slug:
description: A slug is a snapshot of your application code that is ready to run on the platform.
$schema: http://json-schema.org/draft-04/hyper-schema
stability: production
strictProperties: true
title: Heroku Platform API - Slug
type:
- object
definitions:
buildpack_provided_description:
description: description from buildpack of slug
example: Ruby/Rack
readOnly: false
type:
- 'null'
- string
checksum:
description: an optional checksum of the slug for verifying its integrity
example: SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
readOnly: true
type:
- 'null'
- string
commit:
description: 'identification of the code with your version control system (eg: SHA of the git HEAD)'
example: 60883d9e8947a57e04dc9124f25df004866a2051
readOnly: false
type:
- 'null'
- string
commit_description:
description: an optional description of the provided commit
example: fixed a bug with API documentation
readOnly: false
type:
- 'null'
- string
created_at:
description: when slug was created
example: '2012-01-01T12:00:00Z'
format: date-time
readOnly: true
type:
- string
id:
description: unique identifier of slug
example: 01234567-89ab-cdef-0123-456789abcdef
format: uuid
readOnly: true
type:
- string
identity:
anyOf:
- $ref: '#/components/schemas/slug/definitions/id'
method:
description: method to be used to interact with the slug blob
example: GET
readOnly: true
type:
- string
process_types:
additionalProperties: false
description: hash mapping process type names to their respective command
example:
web: ./bin/web -p $PORT
patternProperties:
^[-\w]{1,128}$:
type:
- string
readOnly: false
type:
- object
size:
default: null
description: size of slug, in bytes
example: 2048
readOnly: true
type:
- integer
- 'null'
updated_at:
description: when slug was updated
example: '2012-01-01T12:00:00Z'
format: date-time
readOnly: true
type:
- string
url:
description: URL to interact with the slug blob
example: https://api.heroku.com/slugs/1234.tgz
readOnly: true
type:
- string
deleted_at:
description: when slug was deleted
example: '2012-01-01T12:00:00Z'
format: date-time
readOnly: true
type:
- string
- 'null'
properties:
blob:
description: pointer to the url where clients can fetch or store the actual release binary
properties:
method:
$ref: '#/components/schemas/slug/definitions/method'
url:
$ref: '#/components/schemas/slug/definitions/url'
strictProperties: true
type:
- object
buildpack_provided_description:
$ref: '#/components/schemas/slug/definitions/buildpack_provided_description'
checksum:
$ref: '#/components/schemas/slug/definitions/checksum'
commit:
$ref: '#/components/schemas/slug/definitions/commit'
commit_description:
$ref: '#/components/schemas/slug/definitions/commit_description'
created_at:
$ref: '#/components/schemas/slug/definitions/created_at'
id:
$ref: '#/components/schemas/slug/definitions/id'
process_types:
$ref: '#/components/schemas/slug/definitions/process_types'
size:
$ref: '#/components/schemas/slug/definitions/size'
stack:
description: identity of slug stack
properties:
id:
$ref: '#/components/schemas/stack/definitions/id'
name:
$ref: '#/components/schemas/stack/definitions/name'
strictProperties: true
type:
- object
updated_at:
$ref: '#/components/schemas/slug/definitions/updated_at'
deleted_at:
$ref: '#/components/schemas/slug/definitions/deleted_at'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'OAuth access token or API key (see https://devcenter.heroku.com/articles/platform-api-reference#authentication). Requests must send Accept: application/vnd.heroku+json; version=3.'
x-generated-from: json-hyper-schema
x-source: https://api.heroku.com/schema
x-generated: '2026-11-25'