Elastic Stack (ELK Stack) Telemetry API

The Telemetry API from Elastic Stack (ELK Stack) — 1 operation(s) for telemetry.

Operations 2

GET /phone-home/config Get ECE telemetry config #
PUT /phone-home/config Set ECE telemetry config #

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/elk-stack-telemetry-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

elk-stack-telemetry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1'
  title: Elastic Cloud Enterprise Telemetry API
  termsOfService: ''
servers:
- url: https://{{hostname}}/api/v1
security:
- basicAuth: []
- apiKey: []
tags:
- name: Telemetry
paths:
  /phone-home/config:
    get:
      tags:
      - Telemetry
      summary: Get ECE telemetry config
      description: Returns whether ECE telemetry is enabled.
      operationId: get-telemetry-config
      responses:
        '200':
          description: The current ECE telemetry configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TelemetryConfig'
        '403':
          description: 'User must have Platform level permissions. (code: `root.unauthorized.rbac`)'
          headers:
            x-cloud-error-codes:
              description: The error codes associated with the response
              schema:
                type: string
                enum:
                - root.unauthorized.rbac
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicFailedReply'
      x-doc:
        tag: Telemetry
    put:
      tags:
      - Telemetry
      summary: Set ECE telemetry config
      description: Sets whether to enable ECE telemetry.
      operationId: set-telemetry-config
      responses:
        '200':
          description: Telemetry configuration updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TelemetryConfig'
        '403':
          description: 'User must have Platform level permissions. (code: `root.unauthorized.rbac`)'
          headers:
            x-cloud-error-codes:
              description: The error codes associated with the response
              schema:
                type: string
                enum:
                - root.unauthorized.rbac
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicFailedReply'
        '409':
          description: 'The telemetry configuration did not exist so there was an attempt to create one. Another request resulted in the creation of a telemetry configuration before this request completed, resulting in the failure of this request to create a configuration. Please retry. (code: `telemetry.already_exists`)'
          headers:
            x-cloud-error-codes:
              description: The error codes associated with the response
              schema:
                type: string
                enum:
                - telemetry.already_exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicFailedReply'
        '500':
          description: 'Failed to set the configuration due to an internal server error. (code: `telemetry.request_execution_failed`)'
          headers:
            x-cloud-error-codes:
              description: The error codes associated with the response
              schema:
                type: string
                enum:
                - telemetry.request_execution_failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicFailedReply'
      x-doc:
        tag: Telemetry
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TelemetryConfigRequest'
        description: The desired ECE telemetry configuration
        required: true
components:
  schemas:
    TelemetryConfigRequest:
      type: object
      required:
      - enabled
      properties:
        enabled:
          type: boolean
          description: Whether to enable ECE telemetry
      description: The desired ECE telemetry configuration
    BasicFailedReplyElement:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: A structured code representing the error type that occurred
        message:
          type: string
          description: A human readable message describing the error that occurred
        fields:
          type: array
          description: If the error can be tied to a specific field or fields in the user request, this lists those fields
          items:
            type: string
    BasicFailedReply:
      type: object
      required:
      - errors
      properties:
        errors:
          type: array
          description: A list of errors that occurred in the failing request
          items:
            $ref: '#/components/schemas/BasicFailedReplyElement'
    TelemetryConfig:
      type: object
      required:
      - enabled
      properties:
        enabled:
          type: boolean
          description: Whether ECE telemetry is enabled
      description: The current ECE telemetry configuration
  securitySchemes:
    apiKey:
      type: apiKey
      name: Authorization
      in: header
    basicAuth:
      type: http
      scheme: basic
x-elastic:
  curl:
    auth: '-H "Authorization: ApiKey $ECE_API_KEY"'