Heroku Audit Trail Archive API

The Audit Trail Archive API from Heroku — 2 operation(s) for audit trail archive.

GitHub OpenAPI

Operations 2

GET /enterprise-accounts/{enterprise-account_identity}/archives/{archive_year}/{archive_month} Info #
GET /enterprise-accounts/{enterprise-account_identity}/archives List #

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:heroku-audit-trail-archive-api"
All apis
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.

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. 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 Specification

heroku-audit-trail-archive-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Audit Trail Archive 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: Audit Trail Archive
paths:
  /enterprise-accounts/{enterprise-account_identity}/archives/{archive_year}/{archive_month}:
    get:
      operationId: archiveInfo
      summary: Info
      description: Get archive for a single month.
      tags:
      - Audit Trail Archive
      parameters:
      - name: enterprise-account_identity
        in: path
        required: true
        schema:
          type: string
      - name: archive_year
        in: path
        required: true
        schema:
          type: string
      - name: archive_month
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/archive/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/archive'
  /enterprise-accounts/{enterprise-account_identity}/archives:
    get:
      operationId: archiveList
      summary: List
      description: List existing archives.
      tags:
      - Audit Trail Archive
      parameters:
      - name: enterprise-account_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/archive/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/archive'
components:
  schemas:
    archive:
      $schema: http://json-schema.org/draft-04/hyper-schema
      title: Heroku Platform API - Audit Trail Archive
      description: An audit trail archive represents a monthly json zipped file containing events
      stability: production
      strictProperties: true
      type:
      - object
      definitions:
        id:
          description: unique identifier of enterprise_account
          readOnly: true
          format: uuid
          type:
          - string
        identity:
          $ref: '#/components/schemas/archive/definitions/id'
        month:
          description: month of the archive
          enum:
          - '01'
          - '02'
          - '03'
          - '04'
          - '05'
          - '06'
          - '07'
          - 08
          - 09
          - '10'
          - '11'
          - '12'
          example: '10'
          readOnly: true
          type:
          - string
        year:
          description: year of the archive
          example: 2019
          readOnly: true
          minimum: 2017
          type:
          - integer
        created_at:
          description: when archive was created
          format: date-time
          type:
          - string
        url:
          description: url where to download the archive
          readOnly: true
          type:
          - string
        checksum:
          description: checksum for the archive
          readOnly: true
          type:
          - string
        size:
          description: size of the archive in bytes
          example: 100
          readOnly: true
          type:
          - integer
      properties:
        created_at:
          $ref: '#/components/schemas/archive/definitions/created_at'
        month:
          $ref: '#/components/schemas/archive/definitions/month'
        year:
          $ref: '#/components/schemas/archive/definitions/year'
        url:
          $ref: '#/components/schemas/archive/definitions/url'
        checksum:
          $ref: '#/components/schemas/archive/definitions/checksum'
        size:
          $ref: '#/components/schemas/archive/definitions/size'
  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'