Elastic Stack (ELK Stack) Elastic Agents API

Elastic Agents APIs enable you to manage Elastic Agents, including retrieving agent information, managing agent lifecycle, handling file uploads, and initiating agent setup.

Business capability
IT Operations Management BC-600.40

Operations 18

GET /api/fleet/agent_status/data Get incoming agent data #
GET /api/fleet/agents Get agents #
POST /api/fleet/agents Get agents by action ids #
DELETE /api/fleet/agents/{agentId} Delete an agent #
GET /api/fleet/agents/{agentId} Get an agent #
PUT /api/fleet/agents/{agentId} Update an agent by ID #
GET /api/fleet/agents/{agentId}/effective_config Get an agent's effective config #
POST /api/fleet/agents/{agentId}/migrate Migrate a single agent #
POST /api/fleet/agents/{agentId}/privilege_level_change Change agent privilege level #
GET /api/fleet/agents/{agentId}/uploads Get agent uploads #
GET /api/fleet/agents/available_versions Get available agent versions #
POST /api/fleet/agents/bulk_migrate Migrate multiple agents #
POST /api/fleet/agents/bulk_privilege_level_change Bulk change agent privilege level #
DELETE /api/fleet/agents/files/{fileId} Delete an uploaded file #
GET /api/fleet/agents/files/{fileId}/{fileName} Get an uploaded file #
GET /api/fleet/agents/setup Get agent setup info #
POST /api/fleet/agents/setup Initiate Fleet setup #
GET /api/fleet/agents/tags Get agent tags #

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-elastic-agents-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-elastic-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Kibana Team
  description: The Kibana REST APIs enable you to manage resources such as connectors, data views, and saved objects.
  title: Kibana Elastic Agents API
  version: ''
  x-doc-license:
    name: Attribution-NonCommercial-NoDerivatives 4.0 International
    url: https://creativecommons.org/licenses/by-nc-nd/4.0/
  x-feedbackLink:
    label: Feedback
    url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
servers:
- url: https://{kibana_url}
  variables:
    kibana_url:
      default: localhost:5601
security:
- apiKeyAuth: []
- basicAuth: []
tags:


# --- truncated at 32 KB (104 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-elastic-agents-api-openapi.yml