API Referenceedit
This document contains the entire list of the Elasticsearch API supported by the client, both OSS and commercial. The client is entirely licensed under Apache 2.0.
Elasticsearch exposes an HTTP layer to communicate with, and the client is a library that will help you do this. Because of this reason, you will see HTTP related parameters, such as body
or headers
.
Every API can accept two objects, the first contains all the parameters that will be sent to Elasticsearch, while the second includes the request specific parameters, such as timeouts, headers, and so on. In the first object, every parameter but the body will be sent via querystring or url parameter, depending on the API, and every unrecognized parameter will be sent as querystring.
// promise API const result = await client.search({ index: 'my-index', from: 20, size: 10, body: { foo: 'bar' } }, { ignore: [404], maxRetries: 3 }) // callback API client.search({ index: 'my-index', from: 20, size: 10, body: { foo: 'bar' } }, { ignore: [404], maxRetries: 3 }, (err, result) => { if (err) console.log(err) })
In this document, you will find the reference of every parameter accepted by the querystring or the url. If you also need to send the body, you can find the documentation of its format in the reference link that is present along with every endpoint.
Common parametersedit
Parameters that are accepted by all API endpoints.
|
|
|
|
|
|
|
|
|
|
asyncSearch.deleteedit
client.asyncSearch.delete({ id: string })
|
|
asyncSearch.getedit
client.asyncSearch.get({ id: string, wait_for_completion_timeout: string, keep_alive: string, typed_keys: boolean })
|
|
|
|
|
|
|
|
asyncSearch.statusedit
client.asyncSearch.status({ id: string })
|
|
asyncSearch.submitedit
client.asyncSearch.submit({ index: string | string[], wait_for_completion_timeout: string, keep_on_completion: boolean, keep_alive: string, batched_reduce_size: number, request_cache: boolean, analyzer: string, analyze_wildcard: boolean, default_operator: 'AND' | 'OR', df: string, explain: boolean, stored_fields: string | string[], docvalue_fields: string | string[], from: number, ignore_unavailable: boolean, ignore_throttled: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', lenient: boolean, preference: string, q: string, routing: string | string[], search_type: 'query_then_fetch' | 'dfs_query_then_fetch', size: number, sort: string | string[], _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], terminate_after: number, stats: string | string[], suggest_field: string, suggest_mode: 'missing' | 'popular' | 'always', suggest_size: number, suggest_text: string, timeout: string, track_scores: boolean, track_total_hits: boolean, allow_partial_search_results: boolean, typed_keys: boolean, version: boolean, seq_no_primary_term: boolean, max_concurrent_shard_requests: number, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
autoscaling.deleteAutoscalingPolicyedit
client.autoscaling.deleteAutoscalingPolicy({ name: string })
|
|
autoscaling.getAutoscalingCapacityedit
client.autoscaling.getAutoscalingCapacity()
autoscaling.getAutoscalingPolicyedit
client.autoscaling.getAutoscalingPolicy({ name: string })
|
|
autoscaling.putAutoscalingPolicyedit
client.autoscaling.putAutoscalingPolicy({ name: string, body: object })
|
|
|
|
bulkedit
client.bulk({ index: string, type: string, wait_for_active_shards: string, refresh: 'true' | 'false' | 'wait_for', routing: string, timeout: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], pipeline: string, require_alias: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.aliasesedit
client.cat.aliases({ name: string | string[], format: string, local: boolean, h: string | string[], help: boolean, s: string | string[], v: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.allocationedit
client.cat.allocation({ node_id: string | string[], format: string, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.countedit
client.cat.count({ index: string | string[], format: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
cat.fielddataedit
client.cat.fielddata({ fields: string | string[], format: string, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.healthedit
client.cat.health({ format: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', ts: boolean, v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.helpedit
client.cat.help({ help: boolean, s: string | string[] })
|
|
|
|
cat.indicesedit
client.cat.indices({ index: string | string[], format: string, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', local: boolean, master_timeout: string, h: string | string[], health: 'green' | 'yellow' | 'red', help: boolean, pri: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean, include_unloaded_segments: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.masteredit
client.cat.master({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.mlDataFrameAnalyticsedit
client.cat.mlDataFrameAnalytics({ id: string, allow_no_match: boolean, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', format: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.mlDatafeedsedit
client.cat.mlDatafeeds({ datafeed_id: string, allow_no_match: boolean, allow_no_datafeeds: boolean, format: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
cat.mlJobsedit
client.cat.mlJobs({ job_id: string, allow_no_match: boolean, allow_no_jobs: boolean, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', format: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.mlTrainedModelsedit
client.cat.mlTrainedModels({ model_id: string, allow_no_match: boolean, from: number, size: number, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', format: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.nodeattrsedit
client.cat.nodeattrs({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.nodesedit
client.cat.nodes({ bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', format: string, full_id: boolean, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean, include_unloaded_segments: boolean })
|
|
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.pendingTasksedit
client.cat.pendingTasks({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.pluginsedit
client.cat.plugins({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, include_bootstrap: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.recoveryedit
client.cat.recovery({ index: string | string[], format: string, active_only: boolean, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', detailed: boolean, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.repositoriesedit
client.cat.repositories({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.segmentsedit
client.cat.segments({ index: string | string[], format: string, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.shardsedit
client.cat.shards({ index: string | string[], format: string, bytes: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb', local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
cat.snapshotsedit
client.cat.snapshots({ repository: string | string[], format: string, ignore_unavailable: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.tasksedit
client.cat.tasks({ format: string, nodes: string | string[], actions: string | string[], detailed: boolean, parent_task_id: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.templatesedit
client.cat.templates({ name: string, format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.threadPooledit
client.cat.threadPool({ thread_pool_patterns: string | string[], format: string, size: '' | 'k' | 'm' | 'g' | 't' | 'p', local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
cat.transformsedit
client.cat.transforms({ transform_id: string, from: number, size: number, allow_no_match: boolean, format: string, h: string | string[], help: boolean, s: string | string[], time: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos', v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ccr.deleteAutoFollowPatternedit
client.ccr.deleteAutoFollowPattern({ name: string })
|
|
ccr.followedit
client.ccr.follow({ index: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
ccr.followInfoedit
client.ccr.followInfo({ index: string | string[] })
|
|
ccr.followStatsedit
client.ccr.followStats({ index: string | string[] })
|
|
ccr.forgetFolloweredit
client.ccr.forgetFollower({ index: string, body: object })
|
|
|
|
ccr.getAutoFollowPatternedit
client.ccr.getAutoFollowPattern({ name: string })
|
|
ccr.pauseAutoFollowPatternedit
client.ccr.pauseAutoFollowPattern({ name: string })
|
|
ccr.pauseFollowedit
client.ccr.pauseFollow({ index: string })
|
|
ccr.putAutoFollowPatternedit
client.ccr.putAutoFollowPattern({ name: string, body: object })
|
|
|
|
ccr.resumeAutoFollowPatternedit
client.ccr.resumeAutoFollowPattern({ name: string })
|
|
ccr.resumeFollowedit
client.ccr.resumeFollow({ index: string, body: object })
|
|
|
|
ccr.statsedit
client.ccr.stats()
ccr.unfollowedit
client.ccr.unfollow({ index: string })
|
|
clearScrolledit
client.clearScroll({ scroll_id: string | string[], body: object })
|
WARNING: This parameter has been deprecated. |
|
|
closePointInTimeedit
client.closePointInTime({ body: object })
|
|
cluster.allocationExplainedit
client.cluster.allocationExplain({ include_yes_decisions: boolean, include_disk_info: boolean, body: object })
|
|
|
|
|
|
cluster.deleteComponentTemplateedit
client.cluster.deleteComponentTemplate({ name: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
cluster.deleteVotingConfigExclusionsedit
client.cluster.deleteVotingConfigExclusions({ wait_for_removal: boolean })
|
|
cluster.existsComponentTemplateedit
client.cluster.existsComponentTemplate({ name: string, master_timeout: string, local: boolean })
|
|
|
|
|
|
cluster.getComponentTemplateedit
client.cluster.getComponentTemplate({ name: string | string[], master_timeout: string, local: boolean })
|
|
|
|
|
|
cluster.getSettingsedit
client.cluster.getSettings({ flat_settings: boolean, master_timeout: string, timeout: string, include_defaults: boolean })
|
|
|
|
|
|
|
|
cluster.healthedit
client.cluster.health({ index: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', level: 'cluster' | 'indices' | 'shards', local: boolean, master_timeout: string, timeout: string, wait_for_active_shards: string, wait_for_nodes: string, wait_for_events: 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid', wait_for_no_relocating_shards: boolean, wait_for_no_initializing_shards: boolean, wait_for_status: 'green' | 'yellow' | 'red' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cluster.pendingTasksedit
client.cluster.pendingTasks({ local: boolean, master_timeout: string })
|
|
|
|
cluster.postVotingConfigExclusionsedit
client.cluster.postVotingConfigExclusions({ node_ids: string, node_names: string, timeout: string })
|
|
|
|
|
|
cluster.putComponentTemplateedit
client.cluster.putComponentTemplate({ name: string, create: boolean, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
cluster.putSettingsedit
client.cluster.putSettings({ flat_settings: boolean, master_timeout: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
cluster.remoteInfoedit
client.cluster.remoteInfo()
cluster.rerouteedit
client.cluster.reroute({ dry_run: boolean, explain: boolean, retry_failed: boolean, metric: string | string[], master_timeout: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cluster.stateedit
client.cluster.state({ index: string | string[], metric: string | string[], local: boolean, master_timeout: string, flat_settings: boolean, wait_for_metadata_version: number, wait_for_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cluster.statsedit
client.cluster.stats({ node_id: string | string[], flat_settings: boolean, timeout: string })
|
|
|
|
|
|
countedit
client.count({ index: string | string[], type: string | string[], ignore_unavailable: boolean, ignore_throttled: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', min_score: number, preference: string, routing: string | string[], q: string, analyzer: string, analyze_wildcard: boolean, default_operator: 'AND' | 'OR', df: string, lenient: boolean, terminate_after: number, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
createedit
client.create({ id: string, index: string, type: string, wait_for_active_shards: string, refresh: 'true' | 'false' | 'wait_for', routing: string, timeout: string, version: number, version_type: 'internal' | 'external' | 'external_gte', pipeline: string, body: object })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
danglingIndices.deleteDanglingIndexedit
client.danglingIndices.deleteDanglingIndex({ index_uuid: string, accept_data_loss: boolean, timeout: string, master_timeout: string })
|
|
|
|
|
|
|
|
danglingIndices.importDanglingIndexedit
client.danglingIndices.importDanglingIndex({ index_uuid: string, accept_data_loss: boolean, timeout: string, master_timeout: string })
|
|
|
|
|
|
|
|
danglingIndices.listDanglingIndicesedit
client.danglingIndices.listDanglingIndices()
deleteedit
client.delete({ id: string, index: string, type: string, wait_for_active_shards: string, refresh: 'true' | 'false' | 'wait_for', routing: string, timeout: string, if_seq_no: number, if_primary_term: number, version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force' })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteByQueryedit
client.deleteByQuery({ index: string | string[], type: string | string[], analyzer: string, analyze_wildcard: boolean, default_operator: 'AND' | 'OR', df: string, from: number, ignore_unavailable: boolean, allow_no_indices: boolean, conflicts: 'abort' | 'proceed', expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', lenient: boolean, preference: string, q: string, routing: string | string[], scroll: string, search_type: 'query_then_fetch' | 'dfs_query_then_fetch', search_timeout: string, size: number, max_docs: number, sort: string | string[], terminate_after: number, stats: string | string[], version: boolean, request_cache: boolean, refresh: boolean, timeout: string, wait_for_active_shards: string, scroll_size: number, wait_for_completion: boolean, requests_per_second: number, slices: number|string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteByQueryRethrottleedit
client.deleteByQueryRethrottle({ task_id: string, requests_per_second: number })
|
|
|
|
deleteScriptedit
client.deleteScript({ id: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
enrich.deletePolicyedit
client.enrich.deletePolicy({ name: string })
|
|
enrich.executePolicyedit
client.enrich.executePolicy({ name: string, wait_for_completion: boolean })
|
|
|
|
enrich.getPolicyedit
client.enrich.getPolicy({ name: string | string[] })
|
|
enrich.putPolicyedit
client.enrich.putPolicy({ name: string, body: object })
|
|
|
|
enrich.statsedit
client.enrich.stats()
eql.deleteedit
client.eql.delete({ id: string })
|
|
eql.getedit
client.eql.get({ id: string, wait_for_completion_timeout: string, keep_alive: string })
|
|
|
|
|
|
eql.getStatusedit
client.eql.getStatus({ id: string })
|
|
eql.searchedit
client.eql.search({ index: string, wait_for_completion_timeout: string, keep_on_completion: boolean, keep_alive: string, body: object })
|
|
|
|
|
|
|
|
|
|
existsedit
client.exists({ id: string, index: string, type: string, stored_fields: string | string[], preference: string, realtime: boolean, refresh: boolean, routing: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force' })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
existsSourceedit
client.existsSource({ id: string, index: string, type: string, preference: string, realtime: boolean, refresh: boolean, routing: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force' })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
explainedit
client.explain({ id: string, index: string, type: string, analyze_wildcard: boolean, analyzer: string, default_operator: 'AND' | 'OR', df: string, stored_fields: string | string[], lenient: boolean, preference: string, q: string, routing: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], body: object })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
features.getFeaturesedit
client.features.getFeatures({ master_timeout: string })
|
|
features.resetFeaturesedit
Stability: experimental
client.features.resetFeatures()
fieldCapsedit
client.fieldCaps({ index: string | string[], fields: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', include_unmapped: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fleet.globalCheckpointsedit
client.fleet.globalCheckpoints({ index: string, wait_for_advance: boolean, wait_for_index: boolean, checkpoints: string | string[], timeout: string })
|
|
|
|
|
|
|
|
|
|
fleet.msearchedit
Stability: experimental
client.fleet.msearch({ index: string, body: object })
|
|
|
|
fleet.searchedit
Stability: experimental
client.fleet.search({ index: string, wait_for_checkpoints: string | string[], wait_for_checkpoints_timeout: string, allow_partial_search_results: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
getedit
client.get({ id: string, index: string, type: string, stored_fields: string | string[], preference: string, realtime: boolean, refresh: boolean, routing: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force' })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getScriptedit
client.getScript({ id: string, master_timeout: string })
|
|
|
|
getScriptContextedit
client.getScriptContext()
getScriptLanguagesedit
client.getScriptLanguages()
getSourceedit
client.getSource({ id: string, index: string, type: string, preference: string, realtime: boolean, refresh: boolean, routing: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force' })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
graph.exploreedit
client.graph.explore({ index: string | string[], type: string | string[], routing: string, timeout: string, body: object })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
ilm.deleteLifecycleedit
client.ilm.deleteLifecycle({ policy: string })
|
|
ilm.explainLifecycleedit
client.ilm.explainLifecycle({ index: string, only_managed: boolean, only_errors: boolean })
|
|
|
|
|
|
ilm.getLifecycleedit
client.ilm.getLifecycle({ policy: string })
|
|
ilm.getStatusedit
client.ilm.getStatus()
ilm.migrateToDataTiersedit
client.ilm.migrateToDataTiers({ dry_run: boolean, body: object })
|
|
|
|
ilm.moveToStepedit
client.ilm.moveToStep({ index: string, body: object })
|
|
|
|
ilm.putLifecycleedit
client.ilm.putLifecycle({ policy: string, body: object })
|
|
|
|
ilm.removePolicyedit
client.ilm.removePolicy({ index: string })
|
|
ilm.retryedit
client.ilm.retry({ index: string })
|
|
ilm.startedit
client.ilm.start()
ilm.stopedit
client.ilm.stop()
indexedit
client.index({ id: string, index: string, type: string, wait_for_active_shards: string, op_type: 'index' | 'create', refresh: 'true' | 'false' | 'wait_for', routing: string, timeout: string, version: number, version_type: 'internal' | 'external' | 'external_gte', if_seq_no: number, if_primary_term: number, pipeline: string, require_alias: boolean, body: object })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.addBlockedit
client.indices.addBlock({ index: string | string[], block: string, timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.analyzeedit
client.indices.analyze({ index: string, body: object })
|
|
|
|
indices.clearCacheedit
client.indices.clearCache({ index: string | string[], fielddata: boolean, fields: string | string[], query: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', request: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.cloneedit
client.indices.clone({ index: string, target: string, timeout: string, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
indices.closeedit
client.indices.close({ index: string | string[], timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', wait_for_active_shards: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.createedit
client.indices.create({ index: string, include_type_name: boolean, wait_for_active_shards: string, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
indices.createDataStreamedit
client.indices.createDataStream({ name: string })
|
|
indices.dataStreamsStatsedit
client.indices.dataStreamsStats({ name: string | string[] })
|
|
indices.deleteedit
client.indices.delete({ index: string | string[], timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
indices.deleteAliasedit
client.indices.deleteAlias({ index: string | string[], name: string | string[], timeout: string, master_timeout: string })
|
|
|
|
|
|
|
|
indices.deleteDataStreamedit
client.indices.deleteDataStream({ name: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
indices.deleteIndexTemplateedit
client.indices.deleteIndexTemplate({ name: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
indices.deleteTemplateedit
client.indices.deleteTemplate({ name: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
indices.diskUsageedit
Stability: experimental
client.indices.diskUsage({ index: string, run_expensive_tasks: boolean, flush: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
indices.existsedit
client.indices.exists({ index: string | string[], local: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', flat_settings: boolean, include_defaults: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.existsAliasedit
client.indices.existsAlias({ name: string | string[], index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', local: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
indices.existsIndexTemplateedit
client.indices.existsIndexTemplate({ name: string, flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
indices.existsTemplateedit
client.indices.existsTemplate({ name: string | string[], flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
indices.existsTypeedit
client.indices.existsType({ index: string | string[], type: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', local: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
indices.fieldUsageStatsedit
Stability: experimental
client.indices.fieldUsageStats({ index: string, fields: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
indices.flushedit
client.indices.flush({ index: string | string[], force: boolean, wait_if_ongoing: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
indices.flushSyncededit
client.indices.flushSynced({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.forcemergeedit
client.indices.forcemerge({ index: string | string[], flush: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', max_num_segments: number, only_expunge_deletes: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.freezeedit
client.indices.freeze({ index: string, timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', wait_for_active_shards: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.getedit
client.indices.get({ index: string | string[], include_type_name: boolean, local: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', flat_settings: boolean, include_defaults: boolean, master_timeout: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.getAliasedit
client.indices.getAlias({ name: string | string[], index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', local: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
indices.getDataStreamedit
client.indices.getDataStream({ name: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
indices.getFieldMappingedit
client.indices.getFieldMapping({ fields: string | string[], index: string | string[], type: string | string[], include_type_name: boolean, include_defaults: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', local: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
indices.getIndexTemplateedit
client.indices.getIndexTemplate({ name: string, flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
indices.getMappingedit
client.indices.getMapping({ index: string | string[], type: string | string[], include_type_name: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', master_timeout: string, local: boolean })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
WARNING: This parameter has been deprecated. |
indices.getSettingsedit
client.indices.getSettings({ index: string | string[], name: string | string[], master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', flat_settings: boolean, local: boolean, include_defaults: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.getTemplateedit
client.indices.getTemplate({ name: string | string[], include_type_name: boolean, flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
|
|
indices.getUpgradeedit
client.indices.getUpgrade({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.migrateToDataStreamedit
client.indices.migrateToDataStream({ name: string })
|
|
indices.modifyDataStreamedit
client.indices.modifyDataStream({ body: object })
|
|
indices.openedit
client.indices.open({ index: string | string[], timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', wait_for_active_shards: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.promoteDataStreamedit
client.indices.promoteDataStream({ name: string })
|
|
indices.putAliasedit
client.indices.putAlias({ index: string | string[], name: string, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.putIndexTemplateedit
client.indices.putIndexTemplate({ name: string, create: boolean, cause: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.putMappingedit
client.indices.putMapping({ index: string | string[], type: string, include_type_name: boolean, timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', write_index_only: boolean, body: object })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.putSettingsedit
client.indices.putSettings({ index: string | string[], master_timeout: string, timeout: string, preserve_existing: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', flat_settings: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.putTemplateedit
client.indices.putTemplate({ name: string, include_type_name: boolean, order: number, create: boolean, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
indices.recoveryedit
client.indices.recovery({ index: string | string[], detailed: boolean, active_only: boolean })
|
|
|
|
|
|
indices.refreshedit
client.indices.refresh({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.reloadSearchAnalyzersedit
client.indices.reloadSearchAnalyzers({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.resolveIndexedit
client.indices.resolveIndex({ name: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
indices.rolloveredit
client.indices.rollover({ alias: string, new_index: string, include_type_name: boolean, timeout: string, dry_run: boolean, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.segmentsedit
client.indices.segments({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', verbose: boolean })
|
|
|
|
|
|
|
|
|
|
indices.shardStoresedit
client.indices.shardStores({ index: string | string[], status: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
indices.shrinkedit
client.indices.shrink({ index: string, target: string, copy_settings: boolean, timeout: string, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.simulateIndexTemplateedit
client.indices.simulateIndexTemplate({ name: string, create: boolean, cause: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.simulateTemplateedit
client.indices.simulateTemplate({ name: string, create: boolean, cause: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.splitedit
client.indices.split({ index: string, target: string, copy_settings: boolean, timeout: string, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.statsedit
client.indices.stats({ metric: string | string[], index: string | string[], completion_fields: string | string[], fielddata_fields: string | string[], fields: string | string[], groups: string | string[], level: 'cluster' | 'indices' | 'shards', types: string | string[], include_segment_file_sizes: boolean, include_unloaded_segments: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', forbid_closed_indices: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.unfreezeedit
client.indices.unfreeze({ index: string, timeout: string, master_timeout: string, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', wait_for_active_shards: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.updateAliasesedit
client.indices.updateAliases({ timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
indices.upgradeedit
client.indices.upgrade({ index: string | string[], allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', ignore_unavailable: boolean, wait_for_completion: boolean, only_ancient_segments: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
indices.validateQueryedit
client.indices.validateQuery({ index: string | string[], type: string | string[], explain: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', q: string, analyzer: string, analyze_wildcard: boolean, default_operator: 'AND' | 'OR', df: string, lenient: boolean, rewrite: boolean, all_shards: boolean, body: object })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
infoedit
client.info()
ingest.deletePipelineedit
client.ingest.deletePipeline({ id: string, master_timeout: string, timeout: string })
|
|
|
|
|
|
ingest.geoIpStatsedit
client.ingest.geoIpStats()
ingest.getPipelineedit
client.ingest.getPipeline({ id: string, summary: boolean, master_timeout: string })
|
|
|
|
|
|
ingest.processorGrokedit
client.ingest.processorGrok()
ingest.putPipelineedit
client.ingest.putPipeline({ id: string, if_version: number, master_timeout: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
ingest.simulateedit
client.ingest.simulate({ id: string, verbose: boolean, body: object })
|
|
|
|
|
|
license.deleteedit
client.license.delete()
license.getedit
client.license.get({ local: boolean, accept_enterprise: boolean })
|
|
|
|
license.getBasicStatusedit
client.license.getBasicStatus()
license.getTrialStatusedit
client.license.getTrialStatus()
license.postedit
client.license.post({ acknowledge: boolean, body: object })
|
|
|
|
license.postStartBasicedit
client.license.postStartBasic({ acknowledge: boolean })
|
|
license.postStartTrialedit
client.license.postStartTrial({ type: string, acknowledge: boolean })
|
|
|
|
logstash.deletePipelineedit
client.logstash.deletePipeline({ id: string })
|
|
logstash.getPipelineedit
client.logstash.getPipeline({ id: string })
|
|
logstash.putPipelineedit
client.logstash.putPipeline({ id: string, body: object })
|
|
|
|
mgetedit
client.mget({ index: string, type: string, stored_fields: string | string[], preference: string, realtime: boolean, refresh: boolean, routing: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], body: object })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
migration.deprecationsedit
client.migration.deprecations({ index: string })
|
|
migration.getFeatureUpgradeStatusedit
client.migration.getFeatureUpgradeStatus()
migration.postFeatureUpgradeedit
client.migration.postFeatureUpgrade()
ml.closeJobedit
client.ml.closeJob({ job_id: string, allow_no_match: boolean, allow_no_jobs: boolean, force: boolean, timeout: string, body: object })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
ml.deleteCalendaredit
client.ml.deleteCalendar({ calendar_id: string })
|
|
ml.deleteCalendarEventedit
client.ml.deleteCalendarEvent({ calendar_id: string, event_id: string })
|
|
|
|
ml.deleteCalendarJobedit
client.ml.deleteCalendarJob({ calendar_id: string, job_id: string })
|
|
|
|
ml.deleteDataFrameAnalyticsedit
client.ml.deleteDataFrameAnalytics({ id: string, force: boolean, timeout: string })
|
|
|
|
|
|
ml.deleteDatafeededit
client.ml.deleteDatafeed({ datafeed_id: string, force: boolean })
|
|
|
|
ml.deleteExpiredDataedit
client.ml.deleteExpiredData({ job_id: string, requests_per_second: number, timeout: string, body: object })
|
|
|
|
|
|
|
|
ml.deleteFilteredit
client.ml.deleteFilter({ filter_id: string })
|
|
ml.deleteForecastedit
client.ml.deleteForecast({ job_id: string, forecast_id: string, allow_no_forecasts: boolean, timeout: string })
|
|
|
|
|
|
|
|
ml.deleteJobedit
client.ml.deleteJob({ job_id: string, force: boolean, wait_for_completion: boolean })
|
|
|
|
|
|
ml.deleteModelSnapshotedit
client.ml.deleteModelSnapshot({ job_id: string, snapshot_id: string })
|
|
|
|
ml.deleteTrainedModeledit
client.ml.deleteTrainedModel({ model_id: string })
|
|
ml.deleteTrainedModelAliasedit
client.ml.deleteTrainedModelAlias({ model_alias: string, model_id: string })
|
|
|
|
ml.estimateModelMemoryedit
client.ml.estimateModelMemory({ body: object })
|
|
ml.evaluateDataFrameedit
client.ml.evaluateDataFrame({ body: object })
|
|
ml.explainDataFrameAnalyticsedit
client.ml.explainDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.findFileStructureedit
Stability: experimental
client.ml.findFileStructure({ lines_to_sample: number, line_merge_size_limit: number, timeout: string, charset: string, format: 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text', has_header_row: boolean, column_names: string | string[], delimiter: string, quote: string, should_trim_fields: boolean, grok_pattern: string, timestamp_field: string, timestamp_format: string, explain: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.flushJobedit
client.ml.flushJob({ job_id: string, calc_interim: boolean, start: string, end: string, advance_time: string, skip_time: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.forecastedit
client.ml.forecast({ job_id: string, duration: string, expires_in: string, max_model_memory: string, body: object })
|
|
|
|
|
|
|
|
|
|
ml.getBucketsedit
client.ml.getBuckets({ job_id: string, timestamp: string, expand: boolean, exclude_interim: boolean, from: number, size: number, start: string, end: string, anomaly_score: number, sort: string, desc: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.getCalendarEventsedit
client.ml.getCalendarEvents({ calendar_id: string, job_id: string, start: string, end: string, from: number, size: number })
|
|
|
|
|
|
|
|
|
|
|
|
ml.getCalendarsedit
client.ml.getCalendars({ calendar_id: string, from: number, size: number, body: object })
|
|
|
|
|
|
|
|
ml.getCategoriesedit
client.ml.getCategories({ job_id: string, category_id: number, from: number, size: number, partition_field_value: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
ml.getDataFrameAnalyticsedit
client.ml.getDataFrameAnalytics({ id: string, allow_no_match: boolean, from: number, size: number, exclude_generated: boolean })
|
|
|
|
|
|
|
|
|
|
ml.getDataFrameAnalyticsStatsedit
client.ml.getDataFrameAnalyticsStats({ id: string, allow_no_match: boolean, from: number, size: number, verbose: boolean })
|
|
|
|
|
|
|
|
|
|
ml.getDatafeedStatsedit
client.ml.getDatafeedStats({ datafeed_id: string, allow_no_match: boolean, allow_no_datafeeds: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
ml.getDatafeedsedit
client.ml.getDatafeeds({ datafeed_id: string, allow_no_match: boolean, allow_no_datafeeds: boolean, exclude_generated: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
ml.getFiltersedit
client.ml.getFilters({ filter_id: string, from: number, size: number })
|
|
|
|
|
|
ml.getInfluencersedit
client.ml.getInfluencers({ job_id: string, exclude_interim: boolean, from: number, size: number, start: string, end: string, influencer_score: number, sort: string, desc: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.getJobStatsedit
client.ml.getJobStats({ job_id: string, allow_no_match: boolean, allow_no_jobs: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
ml.getJobsedit
client.ml.getJobs({ job_id: string, allow_no_match: boolean, allow_no_jobs: boolean, exclude_generated: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
ml.getModelSnapshotsedit
client.ml.getModelSnapshots({ job_id: string, snapshot_id: string, from: number, size: number, start: string, end: string, sort: string, desc: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.getOverallBucketsedit
client.ml.getOverallBuckets({ job_id: string, top_n: number, bucket_span: string, overall_score: number, exclude_interim: boolean, start: string, end: string, allow_no_match: boolean, allow_no_jobs: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
ml.getRecordsedit
client.ml.getRecords({ job_id: string, exclude_interim: boolean, from: number, size: number, start: string, end: string, record_score: number, sort: string, desc: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.getTrainedModelsedit
client.ml.getTrainedModels({ model_id: string, allow_no_match: boolean, include: string, include_model_definition: boolean, decompress_definition: boolean, from: number, size: number, tags: string | string[], exclude_generated: boolean })
|
|
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
ml.getTrainedModelsStatsedit
client.ml.getTrainedModelsStats({ model_id: string, allow_no_match: boolean, from: number, size: number })
|
|
|
|
|
|
|
|
ml.infoedit
client.ml.info()
ml.openJobedit
client.ml.openJob({ job_id: string, body: object })
|
|
|
|
ml.postCalendarEventsedit
client.ml.postCalendarEvents({ calendar_id: string, body: object })
|
|
|
|
ml.postDataedit
client.ml.postData({ job_id: string, reset_start: string, reset_end: string, body: object })
|
|
|
|
|
|
|
|
ml.previewDataFrameAnalyticsedit
client.ml.previewDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.previewDatafeededit
client.ml.previewDatafeed({ datafeed_id: string, body: object })
|
|
|
|
ml.putCalendaredit
client.ml.putCalendar({ calendar_id: string, body: object })
|
|
|
|
ml.putCalendarJobedit
client.ml.putCalendarJob({ calendar_id: string, job_id: string })
|
|
|
|
ml.putDataFrameAnalyticsedit
client.ml.putDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.putDatafeededit
client.ml.putDatafeed({ datafeed_id: string, ignore_unavailable: boolean, allow_no_indices: boolean, ignore_throttled: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', body: object })
|
|
|
|
|
|
|
|
|
|
|
|
ml.putFilteredit
client.ml.putFilter({ filter_id: string, body: object })
|
|
|
|
ml.putJobedit
client.ml.putJob({ job_id: string, ignore_unavailable: boolean, allow_no_indices: boolean, ignore_throttled: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', body: object })
|
|
|
|
|
|
|
|
|
|
|
|
ml.putTrainedModeledit
client.ml.putTrainedModel({ model_id: string, defer_definition_decompression: boolean, body: object })
|
|
|
|
|
|
ml.putTrainedModelAliasedit
client.ml.putTrainedModelAlias({ model_alias: string, model_id: string, reassign: boolean })
|
|
|
|
|
|
ml.resetJobedit
client.ml.resetJob({ job_id: string, wait_for_completion: boolean })
|
|
|
|
ml.revertModelSnapshotedit
client.ml.revertModelSnapshot({ job_id: string, snapshot_id: string, delete_intervening_results: boolean, body: object })
|
|
|
|
|
|
|
|
ml.setUpgradeModeedit
client.ml.setUpgradeMode({ enabled: boolean, timeout: string })
|
|
|
|
ml.startDataFrameAnalyticsedit
client.ml.startDataFrameAnalytics({ id: string, timeout: string, body: object })
|
|
|
|
|
|
ml.startDatafeededit
client.ml.startDatafeed({ datafeed_id: string, start: string, end: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
ml.stopDataFrameAnalyticsedit
client.ml.stopDataFrameAnalytics({ id: string, allow_no_match: boolean, force: boolean, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
ml.stopDatafeededit
client.ml.stopDatafeed({ datafeed_id: string, allow_no_match: boolean, allow_no_datafeeds: boolean, force: boolean, timeout: string, body: object })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
ml.updateDataFrameAnalyticsedit
client.ml.updateDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.updateDatafeededit
client.ml.updateDatafeed({ datafeed_id: string, ignore_unavailable: boolean, allow_no_indices: boolean, ignore_throttled: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', body: object })
|
|
|
|
|
|
|
|
|
|
|
|
ml.updateFilteredit
client.ml.updateFilter({ filter_id: string, body: object })
|
|
|
|
ml.updateJobedit
client.ml.updateJob({ job_id: string, body: object })
|
|
|
|
ml.updateModelSnapshotedit
client.ml.updateModelSnapshot({ job_id: string, snapshot_id: string, body: object })
|
|
|
|
|
|
ml.upgradeJobSnapshotedit
client.ml.upgradeJobSnapshot({ job_id: string, snapshot_id: string, timeout: string, wait_for_completion: boolean })
|
|
|
|
|
|
|
|
ml.validateedit
client.ml.validate({ body: object })
|
|
ml.validateDetectoredit
client.ml.validateDetector({ body: object })
|
|
monitoring.bulkedit
client.monitoring.bulk({ type: string, system_id: string, system_api_version: string, interval: string, body: object })
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
msearchedit
client.msearch({ index: string | string[], type: string | string[], search_type: 'query_then_fetch' | 'dfs_query_then_fetch', max_concurrent_searches: number, typed_keys: boolean, pre_filter_shard_size: number, max_concurrent_shard_requests: number, rest_total_hits_as_int: boolean, ccs_minimize_roundtrips: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msearchTemplateedit
client.msearchTemplate({ index: string | string[], type: string | string[], search_type: 'query_then_fetch' | 'dfs_query_then_fetch', typed_keys: boolean, max_concurrent_searches: number, rest_total_hits_as_int: boolean, ccs_minimize_roundtrips: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mtermvectorsedit
client.mtermvectors({ index: string, type: string, ids: string | string[], term_statistics: boolean, field_statistics: boolean, fields: string | string[], offsets: boolean, positions: boolean, payloads: boolean, preference: string, routing: string, realtime: boolean, version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force', body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nodes.clearRepositoriesMeteringArchiveedit
Stability: experimental
client.nodes.clearRepositoriesMeteringArchive({ node_id: string | string[], max_archive_version: number })
|
|
|
|
nodes.getRepositoriesMeteringInfoedit
Stability: experimental
client.nodes.getRepositoriesMeteringInfo({ node_id: string | string[] })
|
|
nodes.hotThreadsedit
client.nodes.hotThreads({ node_id: string | string[], interval: string, snapshots: number, threads: number, ignore_idle_threads: boolean, type: 'cpu' | 'wait' | 'block' | 'mem', sort: 'cpu' | 'total', timeout: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nodes.infoedit
client.nodes.info({ node_id: string | string[], metric: string | string[], flat_settings: boolean, timeout: string })
|
|
|
|
|
|
|
|
nodes.reloadSecureSettingsedit
client.nodes.reloadSecureSettings({ node_id: string | string[], timeout: string, body: object })
|
|
|
|
|
|
nodes.statsedit
client.nodes.stats({ node_id: string | string[], metric: string | string[], index_metric: string | string[], completion_fields: string | string[], fielddata_fields: string | string[], fields: string | string[], groups: boolean, level: 'indices' | 'node' | 'shards', types: string | string[], timeout: string, include_segment_file_sizes: boolean, include_unloaded_segments: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nodes.usageedit
client.nodes.usage({ node_id: string | string[], metric: string | string[], timeout: string })
|
|
|
|
|
|
openPointInTimeedit
client.openPointInTime({ index: string | string[], preference: string, routing: string, ignore_unavailable: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', keep_alive: string })
|
|
|
|
|
|
|
|
|
|
|
|
pingedit
client.ping()
putScriptedit
client.putScript({ id: string, context: string, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
rankEvaledit
client.rankEval({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', search_type: 'query_then_fetch' | 'dfs_query_then_fetch', body: object })
|
|
|
|
|
|
|
|
|
|
|
|
reindexedit
client.reindex({ refresh: boolean, timeout: string, wait_for_active_shards: string, wait_for_completion: boolean, requests_per_second: number, scroll: string, slices: number|string, max_docs: number, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reindexRethrottleedit
client.reindexRethrottle({ task_id: string, requests_per_second: number })
|
|
|
|
renderSearchTemplateedit
client.renderSearchTemplate({ id: string, body: object })
|
|
|
|
rollup.deleteJobedit
Stability: experimental
client.rollup.deleteJob({ id: string })
|
|
rollup.getJobsedit
Stability: experimental
client.rollup.getJobs({ id: string })
|
|
rollup.getRollupCapsedit
Stability: experimental
client.rollup.getRollupCaps({ id: string })
|
|
rollup.getRollupIndexCapsedit
Stability: experimental
client.rollup.getRollupIndexCaps({ index: string })
|
|
rollup.putJobedit
Stability: experimental
client.rollup.putJob({ id: string, body: object })
|
|
|
|
rollup.rollupedit
Stability: experimental
client.rollup.rollup({ index: string, rollup_index: string, body: object })
|
|
|
|
|
|
rollup.rollupSearchedit
Stability: experimental
client.rollup.rollupSearch({ index: string | string[], type: string, typed_keys: boolean, rest_total_hits_as_int: boolean, body: object })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
rollup.startJobedit
Stability: experimental
client.rollup.startJob({ id: string })
|
|
rollup.stopJobedit
Stability: experimental
client.rollup.stopJob({ id: string, wait_for_completion: boolean, timeout: string })
|
|
|
|
|
|
scriptsPainlessExecuteedit
Stability: experimental
client.scriptsPainlessExecute({ body: object })
|
|
scrolledit
client.scroll({ scroll_id: string, scroll: string, rest_total_hits_as_int: boolean, body: object })
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
searchedit
client.search({ index: string | string[], type: string | string[], analyzer: string, analyze_wildcard: boolean, ccs_minimize_roundtrips: boolean, default_operator: 'AND' | 'OR', df: string, explain: boolean, stored_fields: string | string[], docvalue_fields: string | string[], from: number, ignore_unavailable: boolean, ignore_throttled: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', lenient: boolean, preference: string, q: string, routing: string | string[], scroll: string, search_type: 'query_then_fetch' | 'dfs_query_then_fetch', size: number, sort: string | string[], _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], terminate_after: number, stats: string | string[], suggest_field: string, suggest_mode: 'missing' | 'popular' | 'always', suggest_size: number, suggest_text: string, timeout: string, track_scores: boolean, track_total_hits: boolean, allow_partial_search_results: boolean, typed_keys: boolean, version: boolean, seq_no_primary_term: boolean, request_cache: boolean, batched_reduce_size: number, max_concurrent_shard_requests: number, pre_filter_shard_size: number, rest_total_hits_as_int: boolean, min_compatible_shard_node: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchMvtedit
Stability: experimental
client.searchMvt({ index: string | string[], field: string, zoom: number, x: number, y: number, exact_bounds: boolean, extent: number, grid_precision: number, grid_type: 'grid' | 'point' | 'centroid', size: number, track_total_hits: boolean|long, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchShardsedit
client.searchShards({ index: string | string[], preference: string, routing: string, local: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchTemplateedit
client.searchTemplate({ index: string | string[], type: string | string[], ignore_unavailable: boolean, ignore_throttled: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', preference: string, routing: string | string[], scroll: string, search_type: 'query_then_fetch' | 'dfs_query_then_fetch', explain: boolean, profile: boolean, typed_keys: boolean, rest_total_hits_as_int: boolean, ccs_minimize_roundtrips: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchableSnapshots.cacheStatsedit
Stability: experimental
client.searchableSnapshots.cacheStats({ node_id: string | string[] })
|
|
searchableSnapshots.clearCacheedit
Stability: experimental
client.searchableSnapshots.clearCache({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'none' | 'all' })
|
|
|
|
|
|
|
|
searchableSnapshots.mountedit
client.searchableSnapshots.mount({ repository: string, snapshot: string, master_timeout: string, wait_for_completion: boolean, storage: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
searchableSnapshots.repositoryStatsedit
Stability: experimental
client.searchableSnapshots.repositoryStats({ repository: string })
|
|
searchableSnapshots.statsedit
client.searchableSnapshots.stats({ index: string | string[], level: 'cluster' | 'indices' | 'shards' })
|
|
|
|
security.authenticateedit
client.security.authenticate()
security.changePasswordedit
client.security.changePassword({ username: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.clearApiKeyCacheedit
client.security.clearApiKeyCache({ ids: string | string[] })
|
|
security.clearCachedPrivilegesedit
client.security.clearCachedPrivileges({ application: string | string[] })
|
|
security.clearCachedRealmsedit
client.security.clearCachedRealms({ realms: string | string[], usernames: string | string[] })
|
|
|
|
security.clearCachedRolesedit
client.security.clearCachedRoles({ name: string | string[] })
|
|
security.clearCachedServiceTokensedit
client.security.clearCachedServiceTokens({ namespace: string, service: string, name: string | string[] })
|
|
|
|
|
|
security.createApiKeyedit
client.security.createApiKey({ refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
security.createServiceTokenedit
client.security.createServiceToken({ namespace: string, service: string, name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
|
|
|
|
security.deletePrivilegesedit
client.security.deletePrivileges({ application: string, name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
|
|
security.deleteRoleedit
client.security.deleteRole({ name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.deleteRoleMappingedit
client.security.deleteRoleMapping({ name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.deleteServiceTokenedit
client.security.deleteServiceToken({ namespace: string, service: string, name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
|
|
|
|
security.deleteUseredit
client.security.deleteUser({ username: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.disableUseredit
client.security.disableUser({ username: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.enableUseredit
client.security.enableUser({ username: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.getApiKeyedit
client.security.getApiKey({ id: string, name: string, username: string, realm_name: string, owner: boolean })
|
|
|
|
|
|
|
|
|
|
security.getBuiltinPrivilegesedit
client.security.getBuiltinPrivileges()
security.getPrivilegesedit
client.security.getPrivileges({ application: string, name: string })
|
|
|
|
security.getRoleedit
client.security.getRole({ name: string | string[] })
|
|
security.getRoleMappingedit
client.security.getRoleMapping({ name: string | string[] })
|
|
security.getServiceAccountsedit
client.security.getServiceAccounts({ namespace: string, service: string })
|
|
|
|
security.getServiceCredentialsedit
client.security.getServiceCredentials({ namespace: string, service: string })
|
|
|
|
security.getTokenedit
client.security.getToken({ body: object })
|
|
security.getUseredit
client.security.getUser({ username: string | string[] })
|
|
security.getUserPrivilegesedit
client.security.getUserPrivileges()
security.grantApiKeyedit
client.security.grantApiKey({ refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
security.hasPrivilegesedit
client.security.hasPrivileges({ user: string, body: object })
|
|
|
|
security.invalidateApiKeyedit
client.security.invalidateApiKey({ body: object })
|
|
security.invalidateTokenedit
client.security.invalidateToken({ body: object })
|
|
security.putPrivilegesedit
client.security.putPrivileges({ refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
security.putRoleedit
client.security.putRole({ name: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.putRoleMappingedit
client.security.putRoleMapping({ name: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.putUseredit
client.security.putUser({ username: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.queryApiKeysedit
client.security.queryApiKeys({ body: object })
|
|
security.samlAuthenticateedit
client.security.samlAuthenticate({ body: object })
|
|
security.samlCompleteLogoutedit
client.security.samlCompleteLogout({ body: object })
|
|
security.samlInvalidateedit
client.security.samlInvalidate({ body: object })
|
|
security.samlLogoutedit
client.security.samlLogout({ body: object })
|
|
security.samlPrepareAuthenticationedit
client.security.samlPrepareAuthentication({ body: object })
|
|
security.samlServiceProviderMetadataedit
client.security.samlServiceProviderMetadata({ realm_name: string })
|
|
shutdown.deleteNodeedit
client.shutdown.deleteNode({ node_id: string })
|
|
shutdown.getNodeedit
client.shutdown.getNode({ node_id: string })
|
|
shutdown.putNodeedit
client.shutdown.putNode({ node_id: string, body: object })
|
|
|
|
slm.deleteLifecycleedit
client.slm.deleteLifecycle({ policy_id: string })
|
|
slm.executeLifecycleedit
client.slm.executeLifecycle({ policy_id: string })
|
|
slm.executeRetentionedit
client.slm.executeRetention()
slm.getLifecycleedit
client.slm.getLifecycle({ policy_id: string | string[] })
|
|
slm.getStatsedit
client.slm.getStats()
slm.getStatusedit
client.slm.getStatus()
slm.putLifecycleedit
client.slm.putLifecycle({ policy_id: string, body: object })
|
|
|
|
slm.startedit
client.slm.start()
slm.stopedit
client.slm.stop()
snapshot.cleanupRepositoryedit
client.snapshot.cleanupRepository({ repository: string, master_timeout: string, timeout: string })
|
|
|
|
|
|
snapshot.cloneedit
client.snapshot.clone({ repository: string, snapshot: string, target_snapshot: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.createedit
client.snapshot.create({ repository: string, snapshot: string, master_timeout: string, wait_for_completion: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.createRepositoryedit
client.snapshot.createRepository({ repository: string, master_timeout: string, timeout: string, verify: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.deleteedit
client.snapshot.delete({ repository: string, snapshot: string, master_timeout: string })
|
|
|
|
|
|
snapshot.deleteRepositoryedit
client.snapshot.deleteRepository({ repository: string | string[], master_timeout: string, timeout: string })
|
|
|
|
|
|
snapshot.getedit
client.snapshot.get({ repository: string, snapshot: string | string[], master_timeout: string, ignore_unavailable: boolean, index_details: boolean, include_repository: boolean, verbose: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
snapshot.getRepositoryedit
client.snapshot.getRepository({ repository: string | string[], master_timeout: string, local: boolean })
|
|
|
|
|
|
snapshot.repositoryAnalyzeedit
client.snapshot.repositoryAnalyze({ repository: string, blob_count: number, concurrency: number, read_node_count: number, early_read_node_count: number, seed: number, rare_action_probability: number, max_blob_size: string, max_total_data_size: string, timeout: string, detailed: boolean, rarely_abort_writes: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
snapshot.restoreedit
client.snapshot.restore({ repository: string, snapshot: string, master_timeout: string, wait_for_completion: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.statusedit
client.snapshot.status({ repository: string, snapshot: string | string[], master_timeout: string, ignore_unavailable: boolean })
|
|
|
|
|
|
|
|
snapshot.verifyRepositoryedit
client.snapshot.verifyRepository({ repository: string, master_timeout: string, timeout: string })
|
|
|
|
|
|
sql.clearCursoredit
client.sql.clearCursor({ body: object })
|
|
sql.deleteAsyncedit
client.sql.deleteAsync({ id: string })
|
|
sql.getAsyncedit
client.sql.getAsync({ id: string, delimiter: string, format: string, keep_alive: string, wait_for_completion_timeout: string })
|
|
|
|
|
|
|
|
|
|
sql.getAsyncStatusedit
client.sql.getAsyncStatus({ id: string })
|
|
sql.queryedit
client.sql.query({ format: string, body: object })
|
|
|
|
sql.translateedit
client.sql.translate({ body: object })
|
|
ssl.certificatesedit
client.ssl.certificates()
tasks.canceledit
Stability: experimental
client.tasks.cancel({ task_id: string, nodes: string | string[], actions: string | string[], parent_task_id: string, wait_for_completion: boolean })
|
|
|
|
|
|
|
|
|
|
tasks.getedit
Stability: experimental
client.tasks.get({ task_id: string, wait_for_completion: boolean, timeout: string })
|
|
|
|
|
|
tasks.listedit
Stability: experimental
client.tasks.list({ nodes: string | string[], actions: string | string[], detailed: boolean, parent_task_id: string, wait_for_completion: boolean, group_by: 'nodes' | 'parents' | 'none', timeout: string })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
termsEnumedit
client.termsEnum({ index: string | string[], body: object })
|
|
|
|
termvectorsedit
client.termvectors({ index: string, id: string, type: string, term_statistics: boolean, field_statistics: boolean, fields: string | string[], offsets: boolean, positions: boolean, payloads: boolean, preference: string, routing: string, realtime: boolean, version: number, version_type: 'internal' | 'external' | 'external_gte' | 'force', body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
textStructure.findStructureedit
client.textStructure.findStructure({ lines_to_sample: number, line_merge_size_limit: number, timeout: string, charset: string, format: 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text', has_header_row: boolean, column_names: string | string[], delimiter: string, quote: string, should_trim_fields: boolean, grok_pattern: string, timestamp_field: string, timestamp_format: string, explain: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
transform.deleteTransformedit
client.transform.deleteTransform({ transform_id: string, force: boolean, timeout: string })
|
|
|
|
|
|
transform.getTransformedit
client.transform.getTransform({ transform_id: string, from: number, size: number, allow_no_match: boolean, exclude_generated: boolean })
|
|
|
|
|
|
|
|
|
|
transform.getTransformStatsedit
client.transform.getTransformStats({ transform_id: string, from: number, size: number, allow_no_match: boolean })
|
|
|
|
|
|
|
|
transform.previewTransformedit
client.transform.previewTransform({ transform_id: string, timeout: string, body: object })
|
|
|
|
|
|
transform.putTransformedit
client.transform.putTransform({ transform_id: string, defer_validation: boolean, timeout: string, body: object })
|
|
|
|
|
|
|
|
transform.startTransformedit
client.transform.startTransform({ transform_id: string, timeout: string })
|
|
|
|
transform.stopTransformedit
client.transform.stopTransform({ transform_id: string, force: boolean, wait_for_completion: boolean, timeout: string, allow_no_match: boolean, wait_for_checkpoint: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
transform.updateTransformedit
client.transform.updateTransform({ transform_id: string, defer_validation: boolean, timeout: string, body: object })
|
|
|
|
|
|
|
|
transform.upgradeTransformsedit
client.transform.upgradeTransforms({ dry_run: boolean, timeout: string })
|
|
|
|
updateedit
client.update({ id: string, index: string, type: string, wait_for_active_shards: string, _source: string | string[], _source_excludes: string | string[], _source_includes: string | string[], lang: string, refresh: 'true' | 'false' | 'wait_for', retry_on_conflict: number, routing: string, timeout: string, if_seq_no: number, if_primary_term: number, require_alias: boolean, body: object })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateByQueryedit
client.updateByQuery({ index: string | string[], type: string | string[], analyzer: string, analyze_wildcard: boolean, default_operator: 'AND' | 'OR', df: string, from: number, ignore_unavailable: boolean, allow_no_indices: boolean, conflicts: 'abort' | 'proceed', expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', lenient: boolean, pipeline: string, preference: string, q: string, routing: string | string[], scroll: string, search_type: 'query_then_fetch' | 'dfs_query_then_fetch', search_timeout: string, size: number, max_docs: number, sort: string | string[], terminate_after: number, stats: string | string[], version: boolean, version_type: boolean, request_cache: boolean, refresh: boolean, timeout: string, wait_for_active_shards: string, scroll_size: number, wait_for_completion: boolean, requests_per_second: number, slices: number|string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateByQueryRethrottleedit
client.updateByQueryRethrottle({ task_id: string, requests_per_second: number })
|
|
|
|
watcher.ackWatchedit
client.watcher.ackWatch({ watch_id: string, action_id: string | string[] })
|
|
|
|
watcher.activateWatchedit
client.watcher.activateWatch({ watch_id: string })
|
|
watcher.deactivateWatchedit
client.watcher.deactivateWatch({ watch_id: string })
|
|
watcher.deleteWatchedit
client.watcher.deleteWatch({ id: string })
|
|
watcher.executeWatchedit
client.watcher.executeWatch({ id: string, debug: boolean, body: object })
|
|
|
|
|
|
watcher.getWatchedit
client.watcher.getWatch({ id: string })
|
|
watcher.putWatchedit
client.watcher.putWatch({ id: string, active: boolean, version: number, if_seq_no: number, if_primary_term: number, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
watcher.queryWatchesedit
client.watcher.queryWatches({ body: object })
|
|
watcher.startedit
client.watcher.start()
watcher.statsedit
client.watcher.stats({ metric: string | string[], emit_stacktraces: boolean })
|
|
|
|
watcher.stopedit
client.watcher.stop()
xpack.infoedit
client.xpack.info({ categories: string | string[], accept_enterprise: boolean })
|
|
|
|
xpack.usageedit
client.xpack.usage({ master_timeout: string })
|
|