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) Tasks API

The tasks API from Elastic Stack (ELK Stack) — 4 operation(s) for tasks.

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

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

Requests are made against the base URL https://{elasticsearch_endpoint}.

4 operations 4 paths 20 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://{elasticsearch_endpoint}
License
Resource Areas
1

Paths & Operations 4

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

tasks 4
POST
/_tasks/_cancel
Cancel a task
tasks-cancel 4 params → 200
POST
/_tasks/{task_id}/_cancel
Cancel a task
tasks-cancel-1 5 params → 200
GET
/_tasks/{task_id}
Get task information
tasks-get 3 params → 200
GET
/_tasks
Get all tasks
tasks-list 7 params → 200

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are tasks._types.TaskInfo (16 properties), tasks._types.NodeTasks (7 properties), _types.ErrorCause (6 properties), tasks._types.TaskListResponseBase (4 properties). Each schema is shown below with its type and property counts.

tasks._types.TaskInfos
_types.NodeId
string
_types.Id
string
_types.UnitNanos
number
Time unit for nanoseconds
_types.Duration
A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and d (days). Also accepts "0" without a unit and "-1" to indica…
tasks._types.GroupBy
string
_types.TransportAddress
string
_types.DurationValueUnitNanos
tasks._types.TaskInfo
object
16 properties 8 required
_types.TaskId
string
_types.EpochTimeUnitMillis
_types.NodeIds
tasks._types.TaskListResponseBase
object
4 properties
tasks._types.NodeTasks
object
7 properties 1 required
tasks._types.ParentTaskInfo
_types.Ip
string
_types.Host
string
_types.ErrorCause
object
Cause and details about a request failure. This class defines the properties common to all error types. Additional details are also provided, that depend on th…
6 properties 1 required
_types.UnitMillis
number
Time unit for milliseconds
_types.TaskFailure
object
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

elk-stack-tasks-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) Tasks 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.