Get a document's source

  • GET /{index}/_source/{id}

Get the source of a document. For example:

GET my-index-000001/_source/1
		

You can use the source filtering parameters to control which parts of the _source are returned:

GET my-index-000001/_source/1/?_source_includes=*.id&_source_excludes=entities
		
  • Index privileges: read
Learn more about _source field

Response