Elastic Stack (ELK Stack) Elastic Agent policies API

Elastic Agent policies APIs enable you to manage agent policies, including creating, updating, and deleting policies, as well as to retrieve agent policy outputs, manifests, and auto-upgrade status information.

Operations 14

GET /api/fleet/agent_policies Get agent policies #
POST /api/fleet/agent_policies Create an agent policy #
POST /api/fleet/agent_policies/_bulk_get Bulk get agent policies #
GET /api/fleet/agent_policies/{agentPolicyId} Get an agent policy #
PUT /api/fleet/agent_policies/{agentPolicyId} Update an agent policy #
GET /api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status Get auto upgrade agent status #
POST /api/fleet/agent_policies/{agentPolicyId}/copy Copy an agent policy #
GET /api/fleet/agent_policies/{agentPolicyId}/download Download an agent policy #
GET /api/fleet/agent_policies/{agentPolicyId}/full Get a full agent policy #
GET /api/fleet/agent_policies/{agentPolicyId}/outputs Get outputs for an agent policy #
POST /api/fleet/agent_policies/delete Delete an agent policy #
POST /api/fleet/agent_policies/outputs Get outputs for agent policies #
GET /api/fleet/kubernetes Get a full K8s agent manifest #
GET /api/fleet/kubernetes/download Download an agent manifest #

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-agent-policies-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-agent-policies-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 Agent policies 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 (113 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-elastic-agent-policies-api-openapi.yml