anchor.diff:  [[search-field-caps-api-path-params]]
   ==== {api-path-parms-title}
   
  -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index]
  +`<target>`::
  +(Optional, string)
  +Comma-separated list of data streams, indices, and index aliases used to limit
  +the request. Wildcard expressions (`*`) are supported.
  ++
  +To target all data streams and indices in a cluster, omit this parameter or use
  +`_all` or `*`.
   
   
   [[search-field-caps-api-query-params]]
  
positive.code: ==== {api-examples-title}
  
  
  The request can be restricted to specific indices:
  
  [source,console]
  --------------------------------------------------
  
negative.code: === Field Capabilities API
  
  Allows you to retrieve the capabilities of fields among multiple indices.
  For data streams, the API returns field capabilities among the stream's backing
  indices.
  
  [source,console]
  --------------------------------------------------
  