Elastic · Schema
cluster.pending_tasks.PendingTask
SearchAnalyticsObservabilitySecurityVisualizationCloudMonitoring
Properties
| Name | Type | Description |
|---|---|---|
| executing | boolean | Indicates whether the pending tasks are currently executing or not. |
| insert_order | number | The number that represents when the task has been inserted into the task queue. |
| priority | string | The priority of the pending task. The valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`. |
| source | string | A general description of the cluster task that may include a reason and origin. |
| time_in_queue | object | The time since the task is waiting for being performed. |
| time_in_queue_millis | object | The time expressed in milliseconds since the task is waiting for being performed. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/elastic/json-schema/elastic-cluster-pending-tasks-pending-task-schema.json",
"title": "cluster.pending_tasks.PendingTask",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/elastic-cluster-api-openapi.yml#/components/schemas/cluster.pending_tasks.PendingTask",
"type": "object",
"properties": {
"executing": {
"description": "Indicates whether the pending tasks are currently executing or not.",
"type": "boolean"
},
"insert_order": {
"description": "The number that represents when the task has been inserted into the task queue.",
"type": "number"
},
"priority": {
"description": "The priority of the pending task.\nThe valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.",
"type": "string"
},
"source": {
"description": "A general description of the cluster task that may include a reason and origin.",
"type": "string"
},
"time_in_queue": {
"description": "The time since the task is waiting for being performed.",
"allOf": [
{
"$ref": "#/$defs/_types.Duration"
}
]
},
"time_in_queue_millis": {
"description": "The time expressed in milliseconds since the task is waiting for being performed.",
"allOf": [
{
"$ref": "#/$defs/_types.DurationValueUnitMillis"
}
]
}
},
"required": [
"executing",
"insert_order",
"priority",
"source",
"time_in_queue_millis"
],
"$defs": {
"_types.Duration": {
"description": "A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and\n`d` (days). Also accepts \"0\" without a unit and \"-1\" to indicate an unspecified value.",
"oneOf": [
{
"type": "string"
},
{
"type": "string",
"enum": [
"-1"
]
},
{
"type": "string",
"enum": [
"0"
]
}
]
},
"_types.DurationValueUnitMillis": {
"allOf": [
{
"$ref": "#/$defs/_types.UnitMillis"
}
]
},
"_types.UnitMillis": {
"description": "Time unit for milliseconds",
"type": "number"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elastic-cluster-pending-tasks-pending-task"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.