anchor.diff:  [[search-field-caps-api-query-params]]
   ==== {api-query-parms-title}
   
  +`fields`::
  +(Required, string)
  +Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`)
  +expressions are supported.
  +
   include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=allow-no-indices]
   +
   Defaults to `true`.
  
positive.code: --
  Defaults to `open`.
  --
  
  include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=fields]
  
  include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable]
  
  
negative.code: [[search-field-caps-api-request]]
  ==== {api-request-title}
  
  `GET /_field_caps?fields=<fields>`
  
  `POST /_field_caps?fields=<fields>`
  
  `GET /<target>/_field_caps?fields=<fields>`
  
  `POST /<target>/_field_caps?fields=<fields>`
  
  
  [[search-field-caps-api-desc]]
  