How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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.

Elastic Stack (ELK Stack) Elastic Agent policies API is one of 132 APIs that Elastic Stack (ELK Stack) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Elastic Agent policies. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 14 operations across 12 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0.

Requests are made against a single base URL, https://{kibana_url}.

14 operations 12 paths 20 schemas 8 GET5 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://{elasticsearch_endpoint}
Authentication
API Key, HTTP Basic
Contact
Kibana Team
Resource Areas
1

Authentication & Security 2

Elastic Stack (ELK Stack) Elastic Agent policies API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKeyAuth). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • apiKeyAuth — These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: Authorization: ApiKey base64A…

Paths & Operations 14

Across 12 paths, the API surfaces 14 operations — 8 GET, 5 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Elastic Agent policies 14

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 a…

GET
/api/fleet/agent_policies
Get agent policies
get-fleet-agent-policies 10 params → 200400
POST
/api/fleet/agent_policies
Create an agent policy
post-fleet-agent-policies 2 params body → 200400
POST
/api/fleet/agent_policies/_bulk_get
Bulk get agent policies
post-fleet-agent-policies-bulk-get 2 params body → 200400404
GET
/api/fleet/agent_policies/{agentPolicyId}
Get an agent policy
get-fleet-agent-policies-agentpolicyid 2 params → 200400404
PUT
/api/fleet/agent_policies/{agentPolicyId}
Update an agent policy
put-fleet-agent-policies-agentpolicyid 3 params body → 200400
GET
/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status
Get auto upgrade agent status
get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status 1 param → 200400
POST
/api/fleet/agent_policies/{agentPolicyId}/copy
Copy an agent policy
post-fleet-agent-policies-agentpolicyid-copy 3 params body → 200400
GET
/api/fleet/agent_policies/{agentPolicyId}/download
Download an agent policy
get-fleet-agent-policies-agentpolicyid-download 5 params → 200400404
GET
/api/fleet/agent_policies/{agentPolicyId}/full
Get a full agent policy
get-fleet-agent-policies-agentpolicyid-full 5 params → 200400404
GET
/api/fleet/agent_policies/{agentPolicyId}/outputs
Get outputs for an agent policy
get-fleet-agent-policies-agentpolicyid-outputs 1 param → 200400404
POST
/api/fleet/agent_policies/delete
Delete an agent policy
post-fleet-agent-policies-delete 1 param body → 200400
POST
/api/fleet/agent_policies/outputs
Get outputs for agent policies
post-fleet-agent-policies-outputs 1 param body → 200400
GET
/api/fleet/kubernetes
Get a full K8s agent manifest
get-fleet-kubernetes 3 params → 200400
GET
/api/fleet/kubernetes/download
Download an agent manifest
get-fleet-kubernetes-download 3 params → 200400404

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are Kibana_HTTP_APIs_agent_policy_response (45 properties), Kibana_HTTP_APIs_update_agent_policy_request_body (34 properties), Kibana_HTTP_APIs_new_agent_policy (33 properties), Kibana_HTTP_APIs_package_policy_response (32 properties). Each schema is shown below with its type and property counts.

Kibana_HTTP_APIs_package_policy_input_deprecation_info
object
3 properties 1 required
Kibana_HTTP_APIs_get_k8s_manifest_response
object
1 property 1 required
Kibana_HTTP_APIs_package_policy_stream_deprecation_info
object
3 properties 1 required
Kibana_HTTP_APIs_simplified_package_policy_stream_deprecation_info
object
3 properties 1 required
Kibana_HTTP_APIs_get_agent_policy_response
object
1 property 1 required
Kibana_HTTP_APIs_get_agent_policy_outputs_response
object
1 property 1 required
Kibana_HTTP_APIs_delete_agent_policy_response
object
2 properties 2 required
Kibana_HTTP_APIs_new_agent_policy
object
33 properties 2 required
Kibana_HTTP_APIs_copy_agent_policy_request
object
2 properties 1 required
Kibana_HTTP_APIs_package_policy_package
object
6 properties 2 required
Kibana_HTTP_APIs_delete_agent_policy_request
object
2 properties 1 required
Kibana_HTTP_APIs_simplified_package_policy_input_deprecation_info
object
3 properties 1 required
Kibana_HTTP_APIs_agent_policy_response
object
45 properties 8 required
Kibana_HTTP_APIs_get_full_agent_policy_response
object
1 property 1 required
Kibana_HTTP_APIs_get_list_agent_policy_outputs_request
object
1 property 1 required
Kibana_HTTP_APIs_bulk_get_agent_policies_response
object
1 property 1 required
Kibana_HTTP_APIs_update_agent_policy_request_body
object
34 properties 2 required
Kibana_HTTP_APIs_package_policy_response
object
32 properties 9 required
Kibana_HTTP_APIs_full_agent_policy
object
16 properties 3 required
Kibana_HTTP_APIs_get_list_agent_policy_outputs_response
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elk-stack-elastic-agent-policies-api-openapi.yml Raw ↑

Other APIs Elastic Stack (ELK Stack) publishes across the network.

Elastic Cloud API
Elastic Stack (ELK Stack) Accounts API
Elastic Stack (ELK Stack) Actions API
Elastic Stack (ELK Stack) agent builder API
Elastic Stack (ELK Stack) Alerting API
Elastic Stack (ELK Stack) Alerting V2 API
Elastic Stack (ELK Stack) Analytics API
Elastic Stack (ELK Stack) APM agent configuration API
Elastic Stack (ELK Stack) APM agent keys API
Elastic Stack (ELK Stack) APM annotations API
Elastic Stack (ELK Stack) APM server schema API
Elastic Stack (ELK Stack) APM sourcemaps API
Where this information came from

This is an independent, third-party profile of Elastic Stack (ELK Stack) Elastic Agent policies API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.