Appendix: capability allowlist

Updated at:

This topic lists the core throttling quotas of Agentic ES, together with the REST APIs, Mapping field types, Search parameters, Query DSL clauses, aggregations, and search templates that are currently available. All capabilities and quotas listed in this topic are supported by default; you do not need to apply for an allowlist; endpoints, field types, syntax, or parameters that are not listed here are not yet available. To troubleshoot common status codes, see Migration guide, error codes, and FAQ. To choose a field type for expensive queries (wildcard / prefix), see Data retrieval guide.

Core quotas and protections at a glance

Item

Default quota / rule

Description and reference

Maximum query concurrency per Slice

16 in-flight query slots

This is a concurrency limit rather than 16 QPS (at an average latency of 50 ms, the theoretical peak is about 320 QPS); RRF / MSearch occupy multiple slots. For details, see FAQ.

Maximum write throughput per Slice

32 MiB/s

Combined limit for writes, updates, and deletes per Slice (a single write to the same Slice also cannot exceed 32 MiB); keep each Bulk batch within 2–5 MiB, see Data write and SDK integration guide.

Maximum size of a single HTTP request body

100 MiB

Exceeding the limit returns 413.

Maximum number of Slices auto-created by a single Bulk request

512 Slices

Entries beyond this limit each return 429.

Expensive-query protection

search.allow_expensive_queries = false

Use the wildcard field for wildcard and regex matching. For prefix completion, use an index_prefixes-enabled text (or search_as_you_type / wildcard, see Wildcard and prefix fuzzy search: wildcard); range queries apply only to strongly typed fields such as numeric, date, ip (using them on keyword / text / flattened returns 400, see Data retrieval guide).

1. REST API allowlist

Category

Available HTTP methods and paths

Description

Collection management

PUT /_slice_collection/{collection}

GET /_slice_collection

GET /_slice_collection/{collection}

GET /{collection}

DELETE /_slice_collection/{collection}

Create, view, and delete Collections of the current application (GET /{collection} supports include_defaults).

Collection configuration update

POST /_slice_collection/{collection}/_update

Supports the one-time binding of default_slice (once set, it cannot be renamed or cleared) and modifying auto_create_slice.

Mapping and Settings

GET / PUT / POST /{collection}/_mapping

GET /{collection}/_mapping/field/{fields}

GET / PUT /{collection}/_settings

Supports viewing and adding Mapping fields, and viewing and updating Settings within the available scope. GET with ?include_defaults=true also returns default settings. Out-of-scope settings are ignored and reported through the Warning response header. index.analysis.* static analyzers should be decided when the Collection is created. Updating them after creation requires ?reopen=true, during which the entire Collection is briefly unavailable for reads and writes. Existing data must be rewritten before it is indexed under the new rules. Inline word lists are limited to 500 entries per Collection.

Collection aliases

GET /_alias

GET /_alias/{name}

GET /_cat/aliases[/{alias}]

GET / PUT / POST / DELETE /{collection}/_alias[/{name}]

POST /_aliases

Manage logical aliases of Collections within the current application.

Slice management

PUT /_slice_collection/{collection}/slices/{slice}

PUT /_slice_collection/{collection}/slices

GET /_slice_collection/{collection}/slices

GET /_slice_collection/{collection}/slices/{slice}

DELETE /_slice_collection/{collection}/slices/{slice}

Register Slices individually or in batches, and query them by prefix with cursor-based pagination (page_size, cursor, prefix), view details (single-Slice details support include_doc_count=true) and delete Slices.

Cache warming and Slice copy

POST /{collection}/_warm_slice

POST /_slice_collection/{collection}/slices/{src}/_copy/{dst}

GET /_slice_collection/{collection}/_copy/{copy_id}

POST /_slice_collection/{collection}/_copy/{copy_id}/_cancel

Warm the cache before querying; copy Slices within the same Collection, check copy progress (a copy is considered successful when state == "SUCCEEDED"), and cancel a copy.

Single-document reads and writes

PUT / POST /{collection}/_doc/{id}

POST /{collection}/_doc

PUT / POST /{collection}/_create/{id}

POST /{collection}/_update/{id}

GET / HEAD /{collection}/_doc/{id}

GET / HEAD /{collection}/_source/{id}

DELETE /{collection}/_doc/{id}

Write a single document, auto-generate IDs, create without overwriting, and perform partial updates (doc / upsert / doc_as_upsert), and read or delete by ID.

Bulk reads and writes (Bulk / MGet)

POST / PUT /_bulk

POST / PUT /{collection}/_bulk

GET / POST /_mget

GET / POST /{collection}/_mget

Write documents in bulk and read multiple documents by ID. The maximum size of a single HTTP request body is 100 MiB, keep each Bulk batch within 2–5 MiB.

Update or delete by query, and Reindex

POST /{collection}/_update_by_query

POST /{collection}/_delete_by_query

POST /_reindex

Runs synchronously or, with wait_for_completion=false, asynchronously. _reindex supports cross-Collection reindexing only (to copy Slices within the same Collection, use _copy), source uses "_slice", dest uses "routing": "=<slice>" or "_slice": "=<slice>" (target values carry an = prefix).

Search, count, and multi-search

GET / POST /{collection}/_search

GET / POST /{collection}/_count

GET / POST /_msearch

GET / POST /{collection}/_msearch

Full-text search, vector search (top-level knn), hybrid search (retriever), aggregations, and multi-search.

Scroll full export

GET / POST /_search/scroll

DELETE /_search/scroll

DELETE /_search/scroll/{scroll_id}

Use _search?scroll=1m to export data in batches. When you are done, explicitly call DELETE /_search/scroll to release the scroll context.

Search templates (Mustache)

PUT / POST / GET / DELETE /_scripts/{id}

GET / POST /_search/template

GET / POST /{collection}/_search/template

GET / POST /_msearch/template

GET / POST /{collection}/_msearch/template

GET / POST /_render/template[/{id}]

Create, view, delete, render, and run mustache parameterized search templates.

Query diagnostics, analysis, and refresh

GET / POST /{collection}/_explain/{id}

GET / POST /{collection}/_validate/query

GET / POST /{collection}/_field_caps

GET / POST /_analyze

GET / POST /{collection}/_analyze

GET / POST /{collection}/_refresh

Explain the score of a single document, validate query syntax, and inspect field capabilities (_field_caps is queried at the Collection level and does not require _slice), test analyzers, and refresh explicitly (for regular writes, rely on background automatic refresh).

Background task query and cancellation

GET /_tasks

GET /_tasks/{task_id}

POST /_tasks/{task_id}/_cancel

Query or cancel asynchronous tasks submitted by this application (cancelling does not roll back data that has already been written).

CAT Collection and Slice observability

GET /_cat/slice_collection[/{name}]

GET /_cat/slice_collection/{name}/slices[/{slice}]

GET /_cat/count/{collection}

Quickly view Collections (including the total document count in docs.count) and the Slice list. /_cat/count/{collection} counts documents per Slice (requires _slice, when default_slice is set, omitting it counts only the default Slice).

Note

SDK initialization compatibility: to stay compatible with the startup handshake of official SDKs, probing endpoints such as /, /_nodes*, /_cluster/health*, /_license return a 200 compatibility response. These responses do not reflect real node or cluster state, so do not use them for business health checks.

2. Mapping field type and configuration allowlist

Available field types (38 in total)

Field category

Available type values

Typical use

Text and analyzed search

text, match_only_text, search_as_you_type

Full-text analyzed search (text), space-efficient text matching (match_only_text), and search-as-you-type prefix completion (search_as_you_type).

Keyword and pattern matching

keyword, constant_keyword, wildcard, flattened

Exact matching, filtering, and aggregations (keyword), fixed constants (constant_keyword), wildcard * / ? and regex search (wildcard), and dynamic key-value objects (flattened, see Tenant-level custom fields: flattened).

Identifiers and binary data

ip, version, binary

IPv4/IPv6 addresses, software version numbers, and Base64 binary data.

Integers and floating-point numbers

byte, short, integer, long, unsigned_long, half_float, float, double, scaled_float

Exact numeric matching, range filtering, sorting, and metric aggregations.

Booleans and date-times

boolean, date, date_nanos

Boolean state filtering, millisecond- and nanosecond-precision time queries, and time histogram aggregations.

Ranges

integer_range, long_range, float_range, double_range, date_range, ip_range

Store numeric ranges, time spans, or IP ranges.

Vectors and ranking features

dense_vector, sparse_vector, rank_feature, rank_features

Dense vectors (bbq_disk, default default_visit_percentage: 0.0, rescore_vector.oversample: 10.0, Mapping-level limit 10.0), sparse vectors, and numeric ranking features.

Geospatial and geometric shapes

geo_point, geo_shape, point, shape

Latitude/longitude points and geo polygons, plus planar Cartesian points and shapes.

Composite objects and field aliases

object, alias

Plain JSON objects (object), and aliases pointing to existing fields (alias).

  • Available top-level Mapping options: properties, dynamic (supports true, false, strict, recommended for production: "strict"), dynamic_templates (generated types must be within the allowlist), dynamic_date_formats, date_detection, numeric_detection, _source, _meta.

  • Custom analyzers (Collection settings): supports basic custom analyzers. index.analysis.* is a static setting and should be decided when the Collection is created. Updating it after creation requires ?reopen=true. During the update, the entire Collection is briefly unavailable for reads and writes, so perform the update during off-peak hours. Existing documents must be rewritten before their indexes are rebuilt under the new analyzer rules. Some inline word lists, such as stem_exclusion, are limited to 500 entries per Collection.

3. Search parameter and request body allowlist

3.1 Common Search URL parameters

  • Slice routing: _slice, routing (choose one; list multiple Slices explicitly, separated by commas), ignore_missing_slice (set to true in multi-Slice queries to skip missing Slices).

  • Fault tolerance and performance: allow_partial_search_results (recommended for production: false), timeout, terminate_after, _source_exclude_vectors, scroll.

  • URL parameters that the platform ignores automatically and reports with a Warning header: wait_for_active_shards, master_timeout, ignore_throttled, refresh, preference (the operation itself still runs normally; remove them from your requests).

  • Other common pagination, field control, sorting, and diagnostic parameters (such as from, size, q, _source, sort, track_total_hits, explain, profile, pretty, filter_path) are available with standard Elasticsearch syntax.

3.2 Search request body top-level parameter allowlist

Top-level parameter

Description

query

The main query criteria. For the available Query DSL clauses, see Section 4.

knn

Runs approximate nearest neighbor vector search. Supports k, num_candidates, filter, and the DiskBBQ tuning parameters visit_percentage (0–100) and rescore_vector.oversample (default 10.0, supported in the top-level knn, retriever.knn, and the knn clause in retriever.rrf). The client supplies query_vector.

retriever

Multi-route combination and reranking retrievers. Supports standard, knn, rrf, linear, rescorer, diversify, random_reranker, pinned.

aggs / aggregations

Aggregation and statistics. For the available aggregation types, see Section 5.

post_filter

Post-query filtering (filters matched documents only and does not affect aggregation results).

from, size, timeout, terminate_after

Pagination offset, number of returned hits, timeout, and maximum number of scanned hits.

sort, search_after, collapse

Result sorting, deep pagination cursors, and field collapsing for deduplication (search_after should be backed by a business-side unique field).

_source, stored_fields, docvalue_fields, fields

Controls which document fields are returned.

highlight

Highlights keywords in search results.

rescore

Two-phase query rescoring (based on query).

min_score, indices_boost, track_scores, track_total_hits

Minimum score filtering, multi-collection weights, and score and total-hit controls.

version, seq_no_primary_term, explain, profile

Returns version information, score explanations, and profiling data.

slice

Scroll sliced parallel export configuration (unrelated to the business _slice parameter).

4. Query DSL query type allowlist (41 in total)

Category

Available query types

Description

Compound queries

bool, constant_score, function_score, dis_max, boosting

Combine criteria for filtering and scoring (function_score supports decay functions, weights, and random scoring).

Full-text queries

match, match_phrase, match_phrase_prefix, match_bool_prefix, multi_match, combined_fields, intervals, query_string, simple_query_string

Analyzed full-text matching, phrase and prefix matching, cross-field matching, and boolean expression queries.

Term-level queries

term, terms, range, exists, ids, prefix, wildcard, regexp, fuzzy

Exact matching, numeric and date range matching, and efficient wildcard, regex, and prefix queries with wildcard / index_prefixes fields.

Vector queries

knn, sparse_vector

Dense and sparse vector search (the client supplies pre-computed vectors).

Specialized and feature queries

distance_feature, rank_feature, pinned

Boost by date or geo distance, boost by numeric features, and pin specified _id values to the top.

Geospatial queries (Geo / Shape)

geo_distance, shape

Filter by distance from a latitude/longitude center point (geo_distance), and match spatial relationships of geometric shapes (shape).

Match-all / match-none

match_all, match_none

Match all documents in the Slice, or match no documents.

Span queries

span_term, span_first, span_near, span_or, span_not, span_containing, span_within, span_multi, span_gap

Query term spans and positional relationships.

5. Aggregations and search template allowlist

5.1 Bucket aggregations (29 in total)

Category

Available aggregation types

Description

Grouping by field value

terms, multi_terms, rare_terms

Group and count by a single field value, a combination of multiple field values, or long-tail low-frequency values.

Numeric and time bucketing

histogram, variable_width_histogram, date_histogram, auto_date_histogram, time_series

Group by numeric interval, calendar interval, or a target number of buckets.

Range grouping

range, date_range, ip_range, ip_prefix

Group by custom numeric ranges, date ranges, IP ranges, or network prefixes.

Filtering and sampling

filter, filters, missing, global, sampler, diversified_sampler, random_sampler

Conditional filter grouping, missing-field grouping, and global or sampled aggregations.

Multi-dimensional paging and association analysis

composite, adjacency_matrix, frequent_item_sets, significant_terms, significant_text, categorize_text

Traverse buckets with multi-dimensional paging, and compute intersection matrices, frequent item sets, and significant terms.

Geospatial grids

geo_distance, geohash_grid, geotile_grid, geohex_grid

Aggregate by geo distance rings or by Geohash, tile, or H3 grids.

5.2 Metric aggregations (24 in total)

Category

Available aggregation types

Description

Basic statistics

avg, weighted_avg, sum, min, max, value_count, cardinality

Mean, weighted mean, sum, min and max, value count, and approximate distinct-count cardinality.

Summary and distribution statistics

stats, extended_stats, percentiles, percentile_ranks, median_absolute_deviation, boxplot

Extended stats, percentiles (such as P50/P99), absolute deviation, and box-plot quartiles.

Top document retrieval

top_hits, top_metrics

Retrieve the details of the top-N documents in each bucket, or the metric value of the top-ranked document.

Spatial bounds and centers

geo_bounds, geo_centroid, geo_line, cartesian_bounds, cartesian_centroid

Compute the bounding box, centroid, or connecting line of geo points or planar coordinate points.

Advanced statistics

matrix_stats, rate, string_stats, t_test

Multi-field covariance and correlation matrices, rate conversion, string length statistics, and T-tests.

5.3 Search templates (Mustache)

  • Declarative mustache parameterized search templates are supported (/_scripts/{id} and /_search/template):

    1. Template ID: 1–200 characters long, composed of lowercase letters a-z, digits 0-9, and ., _, -.

    2. Template size: the template source cannot exceed 10240 bytes (UTF-8). The expanded query must also comply with the Query DSL and aggregation allowlists in this topic.

Related topics: Migration guide, error codes, and FAQ | Back to the overview: What is Agentic ES?.