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 actions API

Elastic Agent actions APIs enable you to manage actions performed on Elastic Agents, including agent reassignment, diagnostics collection, enrollment management, upgrades, and bulk operations for agent lifecycle management.

Elastic Stack (ELK Stack) Elastic Agent actions 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 actions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 16 operations across 16 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0.

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

16 operations 16 paths 2 schemas 1 GET15 POST

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 actions 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 16

Across 16 paths, the API surfaces 16 operations — 1 GET, 15 POST. Each is listed below with its method, path, parameters, and response codes.

Elastic Agent actions 16

Elastic Agent actions APIs enable you to manage actions performed on Elastic Agents, including agent reassignment, diagnostics collection, enrollment management, upgrades, and bul…

POST
/api/fleet/agents/{agentId}/actions
Create an agent action
post-fleet-agents-agentid-actions 2 params body → 200400
POST
/api/fleet/agents/{agentId}/reassign
Reassign an agent
post-fleet-agents-agentid-reassign 2 params body → 200400
POST
/api/fleet/agents/{agentId}/remove_collector
Remove an OpAMP collector
post-fleet-agents-agentid-remove-collector 2 params → 200400
POST
/api/fleet/agents/{agentId}/request_diagnostics
Request agent diagnostics
post-fleet-agents-agentid-request-diagnostics 2 params body → 200400
POST
/api/fleet/agents/{agentId}/rollback
Rollback an agent
post-fleet-agents-agentid-rollback 2 params → 200400
POST
/api/fleet/agents/{agentId}/unenroll
Unenroll an agent
post-fleet-agents-agentid-unenroll 2 params body → 200400
POST
/api/fleet/agents/{agentId}/upgrade
Upgrade an agent
post-fleet-agents-agentid-upgrade 2 params body → 200400
GET
/api/fleet/agents/action_status
Get an agent action status
get-fleet-agents-action-status 6 params → 200400
POST
/api/fleet/agents/actions/{actionId}/cancel
Cancel an agent action
post-fleet-agents-actions-actionid-cancel 2 params body → 200400
POST
/api/fleet/agents/bulk_reassign
Bulk reassign agents
post-fleet-agents-bulk-reassign 1 param body → 200400
POST
/api/fleet/agents/bulk_remove_collectors
Bulk remove OpAMP collectors
post-fleet-agents-bulk-remove-collectors 1 param body → 200400
POST
/api/fleet/agents/bulk_request_diagnostics
Bulk request diagnostics from agents
post-fleet-agents-bulk-request-diagnostics 1 param body → 200400
POST
/api/fleet/agents/bulk_rollback
Bulk rollback agents
post-fleet-agents-bulk-rollback 1 param body → 200400
POST
/api/fleet/agents/bulk_unenroll
Bulk unenroll agents
post-fleet-agents-bulk-unenroll 1 param body → 200400
POST
/api/fleet/agents/bulk_update_agent_tags
Bulk update agent tags
post-fleet-agents-bulk-update-agent-tags 1 param body → 200400
POST
/api/fleet/agents/bulk_upgrade
Bulk upgrade agents
post-fleet-agents-bulk-upgrade 1 param body → 200400

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Kibana_HTTP_APIs_action_message_response (1 property), Kibana_HTTP_APIs_action_id_response (1 property). Each schema is shown below with its type and property counts.

Kibana_HTTP_APIs_action_id_response
object
1 property 1 required
Kibana_HTTP_APIs_action_message_response
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elk-stack-elastic-agent-actions-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 actions 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.