[[indices-types-exists]]
=== Types Exists

deprecated[7.0.0, Types are deprecated and are in the process of being removed.  See <<removal-of-types>>.]

Used to check if a type/types exists in an index/indices.

[source,js]
--------------------------------------------------
HEAD twitter/_mapping/tweet
--------------------------------------------------
// CONSOLE
// TEST[setup:twitter]
// TEST[warning:Type exists requests are deprecated, as types have been deprecated.]

The HTTP status code indicates if the type exists or not. A `404` means
it does not exist, and `200` means it does.
