API Reference
editAPI Reference
editThis 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 parameters
editParameters that are accepted by all API endpoints.
|
|
|
|
|
|
|
|
|
|
asyncSearch.delete
editclient.asyncSearch.delete({ id: string })
|
|
asyncSearch.get
editclient.asyncSearch.get({ id: string, wait_for_completion_timeout: string, keep_alive: string, typed_keys: boolean })
|
|
|
|
|
|
|
|
asyncSearch.status
editclient.asyncSearch.status({ id: string })
|
|
asyncSearch.submit
editclient.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.deleteAutoscalingPolicy
editclient.autoscaling.deleteAutoscalingPolicy({ name: string })
|
|
autoscaling.getAutoscalingCapacity
editclient.autoscaling.getAutoscalingCapacity()
autoscaling.getAutoscalingPolicy
editclient.autoscaling.getAutoscalingPolicy({ name: string })
|
|
autoscaling.putAutoscalingPolicy
editclient.autoscaling.putAutoscalingPolicy({ name: string, body: object })
|
|
|
|
bulk
editclient.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.aliases
editclient.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.allocation
editclient.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.count
editclient.cat.count({ index: string | string[], format: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
cat.fielddata
editclient.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.health
editclient.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.help
editclient.cat.help({ help: boolean, s: string | string[] })
|
|
|
|
cat.indices
editclient.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.master
editclient.cat.master({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.mlDataFrameAnalytics
editclient.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.mlDatafeeds
editclient.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.mlJobs
editclient.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.mlTrainedModels
editclient.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.nodeattrs
editclient.cat.nodeattrs({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.nodes
editclient.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.pendingTasks
editclient.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.plugins
editclient.cat.plugins({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, include_bootstrap: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.recovery
editclient.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.repositories
editclient.cat.repositories({ format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.segments
editclient.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.shards
editclient.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.snapshots
editclient.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.tasks
editclient.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.templates
editclient.cat.templates({ name: string, format: string, local: boolean, master_timeout: string, h: string | string[], help: boolean, s: string | string[], v: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat.threadPool
editclient.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.transforms
editclient.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.deleteAutoFollowPattern
editclient.ccr.deleteAutoFollowPattern({ name: string })
|
|
ccr.follow
editclient.ccr.follow({ index: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
ccr.followInfo
editclient.ccr.followInfo({ index: string | string[] })
|
|
ccr.followStats
editclient.ccr.followStats({ index: string | string[] })
|
|
ccr.forgetFollower
editclient.ccr.forgetFollower({ index: string, body: object })
|
|
|
|
ccr.getAutoFollowPattern
editclient.ccr.getAutoFollowPattern({ name: string })
|
|
ccr.pauseAutoFollowPattern
editclient.ccr.pauseAutoFollowPattern({ name: string })
|
|
ccr.pauseFollow
editclient.ccr.pauseFollow({ index: string })
|
|
ccr.putAutoFollowPattern
editclient.ccr.putAutoFollowPattern({ name: string, body: object })
|
|
|
|
ccr.resumeAutoFollowPattern
editclient.ccr.resumeAutoFollowPattern({ name: string })
|
|
ccr.resumeFollow
editclient.ccr.resumeFollow({ index: string, body: object })
|
|
|
|
ccr.stats
editclient.ccr.stats()
ccr.unfollow
editclient.ccr.unfollow({ index: string })
|
|
clearScroll
editclient.clearScroll({ scroll_id: string | string[], body: object })
|
WARNING: This parameter has been deprecated. |
|
|
closePointInTime
editclient.closePointInTime({ body: object })
|
|
cluster.allocationExplain
editclient.cluster.allocationExplain({ include_yes_decisions: boolean, include_disk_info: boolean, body: object })
|
|
|
|
|
|
cluster.deleteComponentTemplate
editclient.cluster.deleteComponentTemplate({ name: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
cluster.deleteVotingConfigExclusions
editclient.cluster.deleteVotingConfigExclusions({ wait_for_removal: boolean })
|
|
cluster.existsComponentTemplate
editclient.cluster.existsComponentTemplate({ name: string, master_timeout: string, local: boolean })
|
|
|
|
|
|
cluster.getComponentTemplate
editclient.cluster.getComponentTemplate({ name: string | string[], master_timeout: string, local: boolean })
|
|
|
|
|
|
cluster.getSettings
editclient.cluster.getSettings({ flat_settings: boolean, master_timeout: string, timeout: string, include_defaults: boolean })
|
|
|
|
|
|
|
|
cluster.health
editclient.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.pendingTasks
editclient.cluster.pendingTasks({ local: boolean, master_timeout: string })
|
|
|
|
cluster.postVotingConfigExclusions
editclient.cluster.postVotingConfigExclusions({ node_ids: string, node_names: string, timeout: string })
|
|
|
|
|
|
cluster.putComponentTemplate
editclient.cluster.putComponentTemplate({ name: string, create: boolean, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
cluster.putSettings
editclient.cluster.putSettings({ flat_settings: boolean, master_timeout: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
cluster.remoteInfo
editclient.cluster.remoteInfo()
cluster.reroute
editclient.cluster.reroute({ dry_run: boolean, explain: boolean, retry_failed: boolean, metric: string | string[], master_timeout: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cluster.state
editclient.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.stats
editclient.cluster.stats({ node_id: string | string[], flat_settings: boolean, timeout: string })
|
|
|
|
|
|
count
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create
editclient.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.deleteDanglingIndex
editclient.danglingIndices.deleteDanglingIndex({ index_uuid: string, accept_data_loss: boolean, timeout: string, master_timeout: string })
|
|
|
|
|
|
|
|
danglingIndices.importDanglingIndex
editclient.danglingIndices.importDanglingIndex({ index_uuid: string, accept_data_loss: boolean, timeout: string, master_timeout: string })
|
|
|
|
|
|
|
|
danglingIndices.listDanglingIndices
editclient.danglingIndices.listDanglingIndices()
delete
editclient.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteByQuery
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteByQueryRethrottle
editclient.deleteByQueryRethrottle({ task_id: string, requests_per_second: number })
|
|
|
|
deleteScript
editclient.deleteScript({ id: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
enrich.deletePolicy
editclient.enrich.deletePolicy({ name: string })
|
|
enrich.executePolicy
editclient.enrich.executePolicy({ name: string, wait_for_completion: boolean })
|
|
|
|
enrich.getPolicy
editclient.enrich.getPolicy({ name: string | string[] })
|
|
enrich.putPolicy
editclient.enrich.putPolicy({ name: string, body: object })
|
|
|
|
enrich.stats
editclient.enrich.stats()
eql.delete
editclient.eql.delete({ id: string })
|
|
eql.get
editclient.eql.get({ id: string, wait_for_completion_timeout: string, keep_alive: string })
|
|
|
|
|
|
eql.getStatus
editclient.eql.getStatus({ id: string })
|
|
eql.search
editclient.eql.search({ index: string, wait_for_completion_timeout: string, keep_on_completion: boolean, keep_alive: string, body: object })
|
|
|
|
|
|
|
|
|
|
exists
editclient.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
existsSource
editclient.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
explain
editclient.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.getFeatures
editclient.features.getFeatures({ master_timeout: string })
|
|
features.resetFeatures
editStability: experimental
client.features.resetFeatures()
fieldCaps
editclient.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.globalCheckpoints
editclient.fleet.globalCheckpoints({ index: string, wait_for_advance: boolean, wait_for_index: boolean, checkpoints: string | string[], timeout: string })
|
|
|
|
|
|
|
|
|
|
fleet.msearch
editStability: experimental
client.fleet.msearch({ index: string, body: object })
|
|
|
|
fleet.search
editStability: experimental
client.fleet.search({ index: string, wait_for_checkpoints: string | string[], wait_for_checkpoints_timeout: string, allow_partial_search_results: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
get
editclient.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getScript
editclient.getScript({ id: string, master_timeout: string })
|
|
|
|
getScriptContext
editclient.getScriptContext()
getScriptLanguages
editclient.getScriptLanguages()
getSource
editclient.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.explore
editclient.graph.explore({ index: string | string[], type: string | string[], routing: string, timeout: string, body: object })
|
|
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
ilm.deleteLifecycle
editclient.ilm.deleteLifecycle({ policy: string })
|
|
ilm.explainLifecycle
editclient.ilm.explainLifecycle({ index: string, only_managed: boolean, only_errors: boolean })
|
|
|
|
|
|
ilm.getLifecycle
editclient.ilm.getLifecycle({ policy: string })
|
|
ilm.getStatus
editclient.ilm.getStatus()
ilm.migrateToDataTiers
editclient.ilm.migrateToDataTiers({ dry_run: boolean, body: object })
|
|
|
|
ilm.moveToStep
editclient.ilm.moveToStep({ index: string, body: object })
|
|
|
|
ilm.putLifecycle
editclient.ilm.putLifecycle({ policy: string, body: object })
|
|
|
|
ilm.removePolicy
editclient.ilm.removePolicy({ index: string })
|
|
ilm.retry
editclient.ilm.retry({ index: string })
|
|
ilm.start
editclient.ilm.start()
ilm.stop
editclient.ilm.stop()
index
editclient.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.addBlock
editclient.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.analyze
editclient.indices.analyze({ index: string, body: object })
|
|
|
|
indices.clearCache
editclient.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.clone
editclient.indices.clone({ index: string, target: string, timeout: string, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
indices.close
editclient.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.create
editclient.indices.create({ index: string, include_type_name: boolean, wait_for_active_shards: string, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
indices.createDataStream
editclient.indices.createDataStream({ name: string })
|
|
indices.dataStreamsStats
editclient.indices.dataStreamsStats({ name: string | string[] })
|
|
indices.delete
editclient.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.deleteAlias
editclient.indices.deleteAlias({ index: string | string[], name: string | string[], timeout: string, master_timeout: string })
|
|
|
|
|
|
|
|
indices.deleteDataStream
editclient.indices.deleteDataStream({ name: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
indices.deleteIndexTemplate
editclient.indices.deleteIndexTemplate({ name: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
indices.deleteTemplate
editclient.indices.deleteTemplate({ name: string, timeout: string, master_timeout: string })
|
|
|
|
|
|
indices.diskUsage
editStability: 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.exists
editclient.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.existsAlias
editclient.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.existsIndexTemplate
editclient.indices.existsIndexTemplate({ name: string, flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
indices.existsTemplate
editclient.indices.existsTemplate({ name: string | string[], flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
indices.existsType
editclient.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.fieldUsageStats
editStability: experimental
client.indices.fieldUsageStats({ index: string, fields: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
indices.flush
editclient.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.flushSynced
editclient.indices.flushSynced({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.forcemerge
editclient.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.freeze
editclient.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.get
editclient.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.getAlias
editclient.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.getDataStream
editclient.indices.getDataStream({ name: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
indices.getFieldMapping
editclient.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.getIndexTemplate
editclient.indices.getIndexTemplate({ name: string, flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
indices.getMapping
editclient.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.getSettings
editclient.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.getTemplate
editclient.indices.getTemplate({ name: string | string[], include_type_name: boolean, flat_settings: boolean, master_timeout: string, local: boolean })
|
|
|
|
|
|
|
|
|
|
indices.getUpgrade
editclient.indices.getUpgrade({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.migrateToDataStream
editclient.indices.migrateToDataStream({ name: string })
|
|
indices.modifyDataStream
editclient.indices.modifyDataStream({ body: object })
|
|
indices.open
editclient.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.promoteDataStream
editclient.indices.promoteDataStream({ name: string })
|
|
indices.putAlias
editclient.indices.putAlias({ index: string | string[], name: string, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.putIndexTemplate
editclient.indices.putIndexTemplate({ name: string, create: boolean, cause: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.putMapping
editclient.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.putSettings
editclient.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.putTemplate
editclient.indices.putTemplate({ name: string, include_type_name: boolean, order: number, create: boolean, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
indices.recovery
editclient.indices.recovery({ index: string | string[], detailed: boolean, active_only: boolean })
|
|
|
|
|
|
indices.refresh
editclient.indices.refresh({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.reloadSearchAnalyzers
editclient.indices.reloadSearchAnalyzers({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
indices.resolveIndex
editclient.indices.resolveIndex({ name: string | string[], expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
indices.rollover
editclient.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.segments
editclient.indices.segments({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', verbose: boolean })
|
|
|
|
|
|
|
|
|
|
indices.shardStores
editclient.indices.shardStores({ index: string | string[], status: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
indices.shrink
editclient.indices.shrink({ index: string, target: string, copy_settings: boolean, timeout: string, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.simulateIndexTemplate
editclient.indices.simulateIndexTemplate({ name: string, create: boolean, cause: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.simulateTemplate
editclient.indices.simulateTemplate({ name: string, create: boolean, cause: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
indices.split
editclient.indices.split({ index: string, target: string, copy_settings: boolean, timeout: string, master_timeout: string, wait_for_active_shards: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
indices.stats
editclient.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.unfreeze
editclient.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.updateAliases
editclient.indices.updateAliases({ timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
indices.upgrade
editclient.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.validateQuery
editclient.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
info
editclient.info()
ingest.deletePipeline
editclient.ingest.deletePipeline({ id: string, master_timeout: string, timeout: string })
|
|
|
|
|
|
ingest.geoIpStats
editclient.ingest.geoIpStats()
ingest.getPipeline
editclient.ingest.getPipeline({ id: string, summary: boolean, master_timeout: string })
|
|
|
|
|
|
ingest.processorGrok
editclient.ingest.processorGrok()
ingest.putPipeline
editclient.ingest.putPipeline({ id: string, if_version: number, master_timeout: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
ingest.simulate
editclient.ingest.simulate({ id: string, verbose: boolean, body: object })
|
|
|
|
|
|
license.delete
editclient.license.delete()
license.get
editclient.license.get({ local: boolean, accept_enterprise: boolean })
|
|
|
|
license.getBasicStatus
editclient.license.getBasicStatus()
license.getTrialStatus
editclient.license.getTrialStatus()
license.post
editclient.license.post({ acknowledge: boolean, body: object })
|
|
|
|
license.postStartBasic
editclient.license.postStartBasic({ acknowledge: boolean })
|
|
license.postStartTrial
editclient.license.postStartTrial({ type: string, acknowledge: boolean })
|
|
|
|
logstash.deletePipeline
editclient.logstash.deletePipeline({ id: string })
|
|
logstash.getPipeline
editclient.logstash.getPipeline({ id: string })
|
|
logstash.putPipeline
editclient.logstash.putPipeline({ id: string, body: object })
|
|
|
|
mget
editclient.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.deprecations
editclient.migration.deprecations({ index: string })
|
|
migration.getFeatureUpgradeStatus
editclient.migration.getFeatureUpgradeStatus()
migration.postFeatureUpgrade
editclient.migration.postFeatureUpgrade()
ml.closeJob
editclient.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.deleteCalendar
editclient.ml.deleteCalendar({ calendar_id: string })
|
|
ml.deleteCalendarEvent
editclient.ml.deleteCalendarEvent({ calendar_id: string, event_id: string })
|
|
|
|
ml.deleteCalendarJob
editclient.ml.deleteCalendarJob({ calendar_id: string, job_id: string })
|
|
|
|
ml.deleteDataFrameAnalytics
editclient.ml.deleteDataFrameAnalytics({ id: string, force: boolean, timeout: string })
|
|
|
|
|
|
ml.deleteDatafeed
editclient.ml.deleteDatafeed({ datafeed_id: string, force: boolean })
|
|
|
|
ml.deleteExpiredData
editclient.ml.deleteExpiredData({ job_id: string, requests_per_second: number, timeout: string, body: object })
|
|
|
|
|
|
|
|
ml.deleteFilter
editclient.ml.deleteFilter({ filter_id: string })
|
|
ml.deleteForecast
editclient.ml.deleteForecast({ job_id: string, forecast_id: string, allow_no_forecasts: boolean, timeout: string })
|
|
|
|
|
|
|
|
ml.deleteJob
editclient.ml.deleteJob({ job_id: string, force: boolean, wait_for_completion: boolean })
|
|
|
|
|
|
ml.deleteModelSnapshot
editclient.ml.deleteModelSnapshot({ job_id: string, snapshot_id: string })
|
|
|
|
ml.deleteTrainedModel
editclient.ml.deleteTrainedModel({ model_id: string })
|
|
ml.deleteTrainedModelAlias
editclient.ml.deleteTrainedModelAlias({ model_alias: string, model_id: string })
|
|
|
|
ml.estimateModelMemory
editclient.ml.estimateModelMemory({ body: object })
|
|
ml.evaluateDataFrame
editclient.ml.evaluateDataFrame({ body: object })
|
|
ml.explainDataFrameAnalytics
editclient.ml.explainDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.findFileStructure
editStability: 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.flushJob
editclient.ml.flushJob({ job_id: string, calc_interim: boolean, start: string, end: string, advance_time: string, skip_time: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.forecast
editclient.ml.forecast({ job_id: string, duration: string, expires_in: string, max_model_memory: string, body: object })
|
|
|
|
|
|
|
|
|
|
ml.getBuckets
editclient.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.getCalendarEvents
editclient.ml.getCalendarEvents({ calendar_id: string, job_id: string, start: string, end: string, from: number, size: number })
|
|
|
|
|
|
|
|
|
|
|
|
ml.getCalendars
editclient.ml.getCalendars({ calendar_id: string, from: number, size: number, body: object })
|
|
|
|
|
|
|
|
ml.getCategories
editclient.ml.getCategories({ job_id: string, category_id: number, from: number, size: number, partition_field_value: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
ml.getDataFrameAnalytics
editclient.ml.getDataFrameAnalytics({ id: string, allow_no_match: boolean, from: number, size: number, exclude_generated: boolean })
|
|
|
|
|
|
|
|
|
|
ml.getDataFrameAnalyticsStats
editclient.ml.getDataFrameAnalyticsStats({ id: string, allow_no_match: boolean, from: number, size: number, verbose: boolean })
|
|
|
|
|
|
|
|
|
|
ml.getDatafeedStats
editclient.ml.getDatafeedStats({ datafeed_id: string, allow_no_match: boolean, allow_no_datafeeds: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
ml.getDatafeeds
editclient.ml.getDatafeeds({ datafeed_id: string, allow_no_match: boolean, allow_no_datafeeds: boolean, exclude_generated: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
ml.getFilters
editclient.ml.getFilters({ filter_id: string, from: number, size: number })
|
|
|
|
|
|
ml.getInfluencers
editclient.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.getJobStats
editclient.ml.getJobStats({ job_id: string, allow_no_match: boolean, allow_no_jobs: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
ml.getJobs
editclient.ml.getJobs({ job_id: string, allow_no_match: boolean, allow_no_jobs: boolean, exclude_generated: boolean })
|
|
|
|
|
WARNING: This parameter has been deprecated. |
|
|
ml.getModelSnapshots
editclient.ml.getModelSnapshots({ job_id: string, snapshot_id: string, from: number, size: number, start: string, end: string, sort: string, desc: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ml.getOverallBuckets
editclient.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.getRecords
editclient.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.getTrainedModels
editclient.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.getTrainedModelsStats
editclient.ml.getTrainedModelsStats({ model_id: string, allow_no_match: boolean, from: number, size: number })
|
|
|
|
|
|
|
|
ml.info
editclient.ml.info()
ml.openJob
editclient.ml.openJob({ job_id: string, body: object })
|
|
|
|
ml.postCalendarEvents
editclient.ml.postCalendarEvents({ calendar_id: string, body: object })
|
|
|
|
ml.postData
editclient.ml.postData({ job_id: string, reset_start: string, reset_end: string, body: object })
|
|
|
|
|
|
|
|
ml.previewDataFrameAnalytics
editclient.ml.previewDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.previewDatafeed
editclient.ml.previewDatafeed({ datafeed_id: string, body: object })
|
|
|
|
ml.putCalendar
editclient.ml.putCalendar({ calendar_id: string, body: object })
|
|
|
|
ml.putCalendarJob
editclient.ml.putCalendarJob({ calendar_id: string, job_id: string })
|
|
|
|
ml.putDataFrameAnalytics
editclient.ml.putDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.putDatafeed
editclient.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.putFilter
editclient.ml.putFilter({ filter_id: string, body: object })
|
|
|
|
ml.putJob
editclient.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.putTrainedModel
editclient.ml.putTrainedModel({ model_id: string, defer_definition_decompression: boolean, body: object })
|
|
|
|
|
|
ml.putTrainedModelAlias
editclient.ml.putTrainedModelAlias({ model_alias: string, model_id: string, reassign: boolean })
|
|
|
|
|
|
ml.resetJob
editclient.ml.resetJob({ job_id: string, wait_for_completion: boolean })
|
|
|
|
ml.revertModelSnapshot
editclient.ml.revertModelSnapshot({ job_id: string, snapshot_id: string, delete_intervening_results: boolean, body: object })
|
|
|
|
|
|
|
|
ml.setUpgradeMode
editclient.ml.setUpgradeMode({ enabled: boolean, timeout: string })
|
|
|
|
ml.startDataFrameAnalytics
editclient.ml.startDataFrameAnalytics({ id: string, timeout: string, body: object })
|
|
|
|
|
|
ml.startDatafeed
editclient.ml.startDatafeed({ datafeed_id: string, start: string, end: string, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
ml.stopDataFrameAnalytics
editclient.ml.stopDataFrameAnalytics({ id: string, allow_no_match: boolean, force: boolean, timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
ml.stopDatafeed
editclient.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.updateDataFrameAnalytics
editclient.ml.updateDataFrameAnalytics({ id: string, body: object })
|
|
|
|
ml.updateDatafeed
editclient.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.updateFilter
editclient.ml.updateFilter({ filter_id: string, body: object })
|
|
|
|
ml.updateJob
editclient.ml.updateJob({ job_id: string, body: object })
|
|
|
|
ml.updateModelSnapshot
editclient.ml.updateModelSnapshot({ job_id: string, snapshot_id: string, body: object })
|
|
|
|
|
|
ml.upgradeJobSnapshot
editclient.ml.upgradeJobSnapshot({ job_id: string, snapshot_id: string, timeout: string, wait_for_completion: boolean })
|
|
|
|
|
|
|
|
ml.validate
editclient.ml.validate({ body: object })
|
|
ml.validateDetector
editclient.ml.validateDetector({ body: object })
|
|
monitoring.bulk
editclient.monitoring.bulk({ type: string, system_id: string, system_api_version: string, interval: string, body: object })
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
|
|
msearch
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msearchTemplate
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mtermvectors
editclient.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.clearRepositoriesMeteringArchive
editStability: experimental
client.nodes.clearRepositoriesMeteringArchive({ node_id: string | string[], max_archive_version: number })
|
|
|
|
nodes.getRepositoriesMeteringInfo
editStability: experimental
client.nodes.getRepositoriesMeteringInfo({ node_id: string | string[] })
|
|
nodes.hotThreads
editclient.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.info
editclient.nodes.info({ node_id: string | string[], metric: string | string[], flat_settings: boolean, timeout: string })
|
|
|
|
|
|
|
|
nodes.reloadSecureSettings
editclient.nodes.reloadSecureSettings({ node_id: string | string[], timeout: string, body: object })
|
|
|
|
|
|
nodes.stats
editclient.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.usage
editclient.nodes.usage({ node_id: string | string[], metric: string | string[], timeout: string })
|
|
|
|
|
|
openPointInTime
editclient.openPointInTime({ index: string | string[], preference: string, routing: string, ignore_unavailable: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', keep_alive: string })
|
|
|
|
|
|
|
|
|
|
|
|
ping
editclient.ping()
putScript
editclient.putScript({ id: string, context: string, timeout: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
rankEval
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
reindex
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reindexRethrottle
editclient.reindexRethrottle({ task_id: string, requests_per_second: number })
|
|
|
|
renderSearchTemplate
editclient.renderSearchTemplate({ id: string, body: object })
|
|
|
|
rollup.deleteJob
editStability: experimental
client.rollup.deleteJob({ id: string })
|
|
rollup.getJobs
editStability: experimental
client.rollup.getJobs({ id: string })
|
|
rollup.getRollupCaps
editStability: experimental
client.rollup.getRollupCaps({ id: string })
|
|
rollup.getRollupIndexCaps
editStability: experimental
client.rollup.getRollupIndexCaps({ index: string })
|
|
rollup.putJob
editStability: experimental
client.rollup.putJob({ id: string, body: object })
|
|
|
|
rollup.rollup
editStability: experimental
client.rollup.rollup({ index: string, rollup_index: string, body: object })
|
|
|
|
|
|
rollup.rollupSearch
editStability: 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.startJob
editStability: experimental
client.rollup.startJob({ id: string })
|
|
rollup.stopJob
editStability: experimental
client.rollup.stopJob({ id: string, wait_for_completion: boolean, timeout: string })
|
|
|
|
|
|
scriptsPainlessExecute
editStability: experimental
client.scriptsPainlessExecute({ body: object })
|
|
scroll
editclient.scroll({ scroll_id: string, scroll: string, rest_total_hits_as_int: boolean, body: object })
|
WARNING: This parameter has been deprecated. |
|
|
|
|
|
|
search
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchMvt
editStability: 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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchShards
editclient.searchShards({ index: string | string[], preference: string, routing: string, local: boolean, ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
searchTemplate
editclient.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.cacheStats
editStability: experimental
client.searchableSnapshots.cacheStats({ node_id: string | string[] })
|
|
searchableSnapshots.clearCache
editStability: experimental
client.searchableSnapshots.clearCache({ index: string | string[], ignore_unavailable: boolean, allow_no_indices: boolean, expand_wildcards: 'open' | 'closed' | 'none' | 'all' })
|
|
|
|
|
|
|
|
searchableSnapshots.mount
editclient.searchableSnapshots.mount({ repository: string, snapshot: string, master_timeout: string, wait_for_completion: boolean, storage: string, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
searchableSnapshots.repositoryStats
editStability: experimental
client.searchableSnapshots.repositoryStats({ repository: string })
|
|
searchableSnapshots.stats
editclient.searchableSnapshots.stats({ index: string | string[], level: 'cluster' | 'indices' | 'shards' })
|
|
|
|
security.authenticate
editclient.security.authenticate()
security.changePassword
editclient.security.changePassword({ username: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.clearApiKeyCache
editclient.security.clearApiKeyCache({ ids: string | string[] })
|
|
security.clearCachedPrivileges
editclient.security.clearCachedPrivileges({ application: string | string[] })
|
|
security.clearCachedRealms
editclient.security.clearCachedRealms({ realms: string | string[], usernames: string | string[] })
|
|
|
|
security.clearCachedRoles
editclient.security.clearCachedRoles({ name: string | string[] })
|
|
security.clearCachedServiceTokens
editclient.security.clearCachedServiceTokens({ namespace: string, service: string, name: string | string[] })
|
|
|
|
|
|
security.createApiKey
editclient.security.createApiKey({ refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
security.createServiceToken
editclient.security.createServiceToken({ namespace: string, service: string, name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
|
|
|
|
security.deletePrivileges
editclient.security.deletePrivileges({ application: string, name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
|
|
security.deleteRole
editclient.security.deleteRole({ name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.deleteRoleMapping
editclient.security.deleteRoleMapping({ name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.deleteServiceToken
editclient.security.deleteServiceToken({ namespace: string, service: string, name: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
|
|
|
|
security.deleteUser
editclient.security.deleteUser({ username: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.disableUser
editclient.security.disableUser({ username: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.enableUser
editclient.security.enableUser({ username: string, refresh: 'true' | 'false' | 'wait_for' })
|
|
|
|
security.getApiKey
editclient.security.getApiKey({ id: string, name: string, username: string, realm_name: string, owner: boolean })
|
|
|
|
|
|
|
|
|
|
security.getBuiltinPrivileges
editclient.security.getBuiltinPrivileges()
security.getPrivileges
editclient.security.getPrivileges({ application: string, name: string })
|
|
|
|
security.getRole
editclient.security.getRole({ name: string | string[] })
|
|
security.getRoleMapping
editclient.security.getRoleMapping({ name: string | string[] })
|
|
security.getServiceAccounts
editclient.security.getServiceAccounts({ namespace: string, service: string })
|
|
|
|
security.getServiceCredentials
editclient.security.getServiceCredentials({ namespace: string, service: string })
|
|
|
|
security.getToken
editclient.security.getToken({ body: object })
|
|
security.getUser
editclient.security.getUser({ username: string | string[] })
|
|
security.getUserPrivileges
editclient.security.getUserPrivileges()
security.grantApiKey
editclient.security.grantApiKey({ refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
security.hasPrivileges
editclient.security.hasPrivileges({ user: string, body: object })
|
|
|
|
security.invalidateApiKey
editclient.security.invalidateApiKey({ body: object })
|
|
security.invalidateToken
editclient.security.invalidateToken({ body: object })
|
|
security.putPrivileges
editclient.security.putPrivileges({ refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
security.putRole
editclient.security.putRole({ name: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.putRoleMapping
editclient.security.putRoleMapping({ name: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.putUser
editclient.security.putUser({ username: string, refresh: 'true' | 'false' | 'wait_for', body: object })
|
|
|
|
|
|
security.queryApiKeys
editclient.security.queryApiKeys({ body: object })
|
|
security.samlAuthenticate
editclient.security.samlAuthenticate({ body: object })
|
|
security.samlCompleteLogout
editclient.security.samlCompleteLogout({ body: object })
|
|
security.samlInvalidate
editclient.security.samlInvalidate({ body: object })
|
|
security.samlLogout
editclient.security.samlLogout({ body: object })
|
|
security.samlPrepareAuthentication
editclient.security.samlPrepareAuthentication({ body: object })
|
|
security.samlServiceProviderMetadata
editclient.security.samlServiceProviderMetadata({ realm_name: string })
|
|
shutdown.deleteNode
editclient.shutdown.deleteNode({ node_id: string })
|
|
shutdown.getNode
editclient.shutdown.getNode({ node_id: string })
|
|
shutdown.putNode
editclient.shutdown.putNode({ node_id: string, body: object })
|
|
|
|
slm.deleteLifecycle
editclient.slm.deleteLifecycle({ policy_id: string })
|
|
slm.executeLifecycle
editclient.slm.executeLifecycle({ policy_id: string })
|
|
slm.executeRetention
editclient.slm.executeRetention()
slm.getLifecycle
editclient.slm.getLifecycle({ policy_id: string | string[] })
|
|
slm.getStats
editclient.slm.getStats()
slm.getStatus
editclient.slm.getStatus()
slm.putLifecycle
editclient.slm.putLifecycle({ policy_id: string, body: object })
|
|
|
|
slm.start
editclient.slm.start()
slm.stop
editclient.slm.stop()
snapshot.cleanupRepository
editclient.snapshot.cleanupRepository({ repository: string, master_timeout: string, timeout: string })
|
|
|
|
|
|
snapshot.clone
editclient.snapshot.clone({ repository: string, snapshot: string, target_snapshot: string, master_timeout: string, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.create
editclient.snapshot.create({ repository: string, snapshot: string, master_timeout: string, wait_for_completion: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.createRepository
editclient.snapshot.createRepository({ repository: string, master_timeout: string, timeout: string, verify: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.delete
editclient.snapshot.delete({ repository: string, snapshot: string, master_timeout: string })
|
|
|
|
|
|
snapshot.deleteRepository
editclient.snapshot.deleteRepository({ repository: string | string[], master_timeout: string, timeout: string })
|
|
|
|
|
|
snapshot.get
editclient.snapshot.get({ repository: string, snapshot: string | string[], master_timeout: string, ignore_unavailable: boolean, index_details: boolean, include_repository: boolean, verbose: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
snapshot.getRepository
editclient.snapshot.getRepository({ repository: string | string[], master_timeout: string, local: boolean })
|
|
|
|
|
|
snapshot.repositoryAnalyze
editclient.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.restore
editclient.snapshot.restore({ repository: string, snapshot: string, master_timeout: string, wait_for_completion: boolean, body: object })
|
|
|
|
|
|
|
|
|
|
snapshot.status
editclient.snapshot.status({ repository: string, snapshot: string | string[], master_timeout: string, ignore_unavailable: boolean })
|
|
|
|
|
|
|
|
snapshot.verifyRepository
editclient.snapshot.verifyRepository({ repository: string, master_timeout: string, timeout: string })
|
|
|
|
|
|
sql.clearCursor
editclient.sql.clearCursor({ body: object })
|
|
sql.deleteAsync
editclient.sql.deleteAsync({ id: string })
|
|
sql.getAsync
editclient.sql.getAsync({ id: string, delimiter: string, format: string, keep_alive: string, wait_for_completion_timeout: string })
|
|
|
|
|
|
|
|
|
|
sql.getAsyncStatus
editclient.sql.getAsyncStatus({ id: string })
|
|
sql.query
editclient.sql.query({ format: string, body: object })
|
|
|
|
sql.translate
editclient.sql.translate({ body: object })
|
|
ssl.certificates
editclient.ssl.certificates()
tasks.cancel
editStability: experimental
client.tasks.cancel({ task_id: string, nodes: string | string[], actions: string | string[], parent_task_id: string, wait_for_completion: boolean })
|
|
|
|
|
|
|
|
|
|
tasks.get
editStability: experimental
client.tasks.get({ task_id: string, wait_for_completion: boolean, timeout: string })
|
|
|
|
|
|
tasks.list
editStability: 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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
termsEnum
editclient.termsEnum({ index: string | string[], body: object })
|
|
|
|
termvectors
editclient.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.findStructure
editclient.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.deleteTransform
editclient.transform.deleteTransform({ transform_id: string, force: boolean, timeout: string })
|
|
|
|
|
|
transform.getTransform
editclient.transform.getTransform({ transform_id: string, from: number, size: number, allow_no_match: boolean, exclude_generated: boolean })
|
|
|
|
|
|
|
|
|
|
transform.getTransformStats
editclient.transform.getTransformStats({ transform_id: string, from: number, size: number, allow_no_match: boolean })
|
|
|
|
|
|
|
|
transform.previewTransform
editclient.transform.previewTransform({ transform_id: string, timeout: string, body: object })
|
|
|
|
|
|
transform.putTransform
editclient.transform.putTransform({ transform_id: string, defer_validation: boolean, timeout: string, body: object })
|
|
|
|
|
|
|
|
transform.startTransform
editclient.transform.startTransform({ transform_id: string, timeout: string })
|
|
|
|
transform.stopTransform
editclient.transform.stopTransform({ transform_id: string, force: boolean, wait_for_completion: boolean, timeout: string, allow_no_match: boolean, wait_for_checkpoint: boolean })
|
|
|
|
|
|
|
|
|
|
|
|
transform.updateTransform
editclient.transform.updateTransform({ transform_id: string, defer_validation: boolean, timeout: string, body: object })
|
|
|
|
|
|
|
|
transform.upgradeTransforms
editclient.transform.upgradeTransforms({ dry_run: boolean, timeout: string })
|
|
|
|
update
editclient.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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateByQuery
editclient.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 })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateByQueryRethrottle
editclient.updateByQueryRethrottle({ task_id: string, requests_per_second: number })
|
|
|
|
watcher.ackWatch
editclient.watcher.ackWatch({ watch_id: string, action_id: string | string[] })
|
|
|
|
watcher.activateWatch
editclient.watcher.activateWatch({ watch_id: string })
|
|
watcher.deactivateWatch
editclient.watcher.deactivateWatch({ watch_id: string })
|
|
watcher.deleteWatch
editclient.watcher.deleteWatch({ id: string })
|
|
watcher.executeWatch
editclient.watcher.executeWatch({ id: string, debug: boolean, body: object })
|
|
|
|
|
|
watcher.getWatch
editclient.watcher.getWatch({ id: string })
|
|
watcher.putWatch
editclient.watcher.putWatch({ id: string, active: boolean, version: number, if_seq_no: number, if_primary_term: number, body: object })
|
|
|
|
|
|
|
|
|
|
|
|
watcher.queryWatches
editclient.watcher.queryWatches({ body: object })
|
|
watcher.start
editclient.watcher.start()
watcher.stats
editclient.watcher.stats({ metric: string | string[], emit_stacktraces: boolean })
|
|
|
|
watcher.stop
editclient.watcher.stop()
xpack.info
editclient.xpack.info({ categories: string | string[], accept_enterprise: boolean })
|
|
|
|
xpack.usage
editclient.xpack.usage({ master_timeout: string })
|
|