Heroku Telemetry Drain API

The Telemetry Drain API from Heroku — 4 operation(s) for telemetry drain.

GitHub OpenAPI

Operations 6

POST /telemetry-drains Create #
GET /apps/{app_identity}/telemetry-drains List by App #
GET /spaces/{space_identity}/telemetry-drains List by Space #
PATCH /telemetry-drains/{telemetry-drain_identity} Update #
DELETE /telemetry-drains/{telemetry-drain_identity} Delete #
GET /telemetry-drains/{telemetry-drain_identity} 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:heroku-telemetry-drain-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-telemetry-drain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroku Platform Telemetry Drain 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: Telemetry Drain
paths:
  /telemetry-drains:
    post:
      operationId: telemetryDrainCreate
      summary: Create
      description: Create a telemetry drain.
      tags:
      - Telemetry Drain
      parameters: []
      x-hyper-schema-rel: create
      x-source: https://api.heroku.com/schema#/definitions/telemetry-drain/links
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                owner:
                  $ref: '#/components/schemas/telemetry-drain/definitions/owner'
                signals:
                  $ref: '#/components/schemas/telemetry-drain/definitions/signals'
                exporter:
                  $ref: '#/components/schemas/telemetry-drain/definitions/exporter'
              required:
              - owner
              - signals
              - exporter
              type:
              - object
      responses:
        '201':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/telemetry-drain'
  /apps/{app_identity}/telemetry-drains:
    get:
      operationId: telemetryDrainListByApp
      summary: List by App
      description: List telemetry drains for an app.
      tags:
      - Telemetry Drain
      parameters:
      - name: app_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/telemetry-drain/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/telemetry-drain'
                type:
                - array
  /spaces/{space_identity}/telemetry-drains:
    get:
      operationId: telemetryDrainListBySpace
      summary: List by Space
      description: List telemetry drains for a space.
      tags:
      - Telemetry Drain
      parameters:
      - name: space_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: instances
      x-source: https://api.heroku.com/schema#/definitions/telemetry-drain/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/telemetry-drain'
                type:
                - array
  /telemetry-drains/{telemetry-drain_identity}:
    patch:
      operationId: telemetryDrainUpdate
      summary: Update
      description: Update a telemetry drain.
      tags:
      - Telemetry Drain
      parameters:
      - name: telemetry-drain_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: update
      x-source: https://api.heroku.com/schema#/definitions/telemetry-drain/links
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                signals:
                  $ref: '#/components/schemas/telemetry-drain/definitions/signals'
                exporter:
                  $ref: '#/components/schemas/telemetry-drain/definitions/exporter'
              type:
              - object
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/telemetry-drain'
    delete:
      operationId: telemetryDrainDelete
      summary: Delete
      description: Delete a telemetry drain.
      tags:
      - Telemetry Drain
      parameters:
      - name: telemetry-drain_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: destroy
      x-source: https://api.heroku.com/schema#/definitions/telemetry-drain/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/telemetry-drain'
    get:
      operationId: telemetryDrainInfo
      summary: Info
      description: Info for a telemetry drain.
      tags:
      - Telemetry Drain
      parameters:
      - name: telemetry-drain_identity
        in: path
        required: true
        schema:
          type: string
      x-hyper-schema-rel: self
      x-source: https://api.heroku.com/schema#/definitions/telemetry-drain/links
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/telemetry-drain'
components:
  schemas:
    telemetry-drain:
      description: A telemetry drain forwards OpenTelemetry traces, metrics, and logs to your own consumer. For Fir-generation apps only.
      $schema: http://json-schema.org/draft-04/hyper-schema
      stability: prototype
      strictProperties: true
      title: Heroku Platform API - Telemetry Drain
      type:
      - object
      definitions:
        id:
          description: unique identifier of telemetry drain
          example: 01234567-89ab-cdef-0123-456789abcdef
          format: uuid
          readOnly: true
          type:
          - string
        identity:
          anyOf:
          - $ref: '#/components/schemas/telemetry-drain/definitions/id'
        created_at:
          description: when the telemetry drain was created
          example: '2024-12-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        updated_at:
          description: when telemetry drain was last updated
          example: '2012-01-01T12:00:00Z'
          format: date-time
          readOnly: true
          type:
          - string
        signal:
          description: OpenTelemetry signal to be sent to the telemetry drain
          readOnly: true
          example: traces
          type:
          - string
          enum:
          - traces
          - metrics
          - logs
        signals:
          description: OpenTelemetry signals to send to telemetry drain
          example:
          - traces
          - metrics
          readOnly: false
          minItems: 1
          uniqueItems: true
          type:
          - array
          items:
            $ref: '#/components/schemas/telemetry-drain/definitions/signal'
        exporter_type:
          description: the transport type to be used for your OpenTelemetry consumer
          readOnly: true
          example: otlphttp
          type:
          - string
          enum:
          - otlphttp
          - otlp
        exporter_endpoint:
          description: URI of your OpenTelemetry consumer
          readOnly: false
          example: https://api.otelproduct.example/consumer
          maxLength: 1000
          type:
          - string
        exporter_headers:
          description: JSON headers to send to your OpenTelemetry consumer
          readOnly: false
          example:
            API-Key: example_api_key_012345
            Environment: production
          default: {}
          additionalProperties: false
          maxItems: 20
          patternProperties:
            ^[A-Za-z0-9\-_]{1,100}$:
              maxLength: 1000
              type:
              - string
          type:
          - object
        exporter:
          description: OpenTelemetry exporter configuration
          readOnly: false
          additionalProperties: false
          properties:
            type:
              $ref: '#/components/schemas/telemetry-drain/definitions/exporter_type'
            endpoint:
              $ref: '#/components/schemas/telemetry-drain/definitions/exporter_endpoint'
            headers:
              $ref: '#/components/schemas/telemetry-drain/definitions/exporter_headers'
          required:
          - type
          - endpoint
          type:
          - object
        owner:
          description: entity that owns this telemetry drain
          properties:
            id:
              description: unique identifier of owner
              example: 01234567-89ab-cdef-0123-456789abcdef
              format: uuid
              readOnly: true
              type:
              - string
            type:
              description: type of owner
              enum:
              - app
              - space
              example: app
              readOnly: true
              type:
              - string
          readOnly: false
          required:
          - id
          - type
          type:
          - object
      properties:
        created_at:
          $ref: '#/components/schemas/telemetry-drain/definitions/created_at'
        id:
          $ref: '#/components/schemas/telemetry-drain/definitions/id'
        owner:
          $ref: '#/components/schemas/telemetry-drain/definitions/owner'
        signals:
          $ref: '#/components/schemas/telemetry-drain/definitions/signals'
        exporter:
          $ref: '#/components/schemas/telemetry-drain/definitions/exporter'
        updated_at:
          $ref: '#/components/schemas/telemetry-drain/definitions/updated_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'