[[index-lifecycle-management-api]]
== {ilm-cap} API

You use the following APIs to set up policies to automatically manage the index lifecycle. 
For more information about {ilm} ({ilm-init}), see <<index-lifecycle-management>>.

[float]
[[ilm-api-policy-endpoint]]
=== Policy management APIs

* <<ilm-put-lifecycle,Create lifecycle policy>>
* <<ilm-get-lifecycle,Get lifecycle policy>>
* <<ilm-delete-lifecycle,Delete lifecycle policy>>

[float]
[[ilm-api-index-endpoint]]
=== Index management APIs

* <<ilm-move-to-step,Move index to step>>
* <<ilm-retry-policy,Retry policy on indices>>
* <<ilm-remove-policy,Remove policy from index>>

[float]
[[ilm-api-management-endpoint]]
=== Operation management APIs

* <<ilm-get-status,Get ILM operation mode>>
* <<ilm-start,Start ILM>>
* <<ilm-stop,Stop ILM>>
* <<ilm-explain-lifecycle,Explain API>>


include::put-lifecycle.asciidoc[]
include::get-lifecycle.asciidoc[]
include::delete-lifecycle.asciidoc[]

include::move-to-step.asciidoc[]
include::remove-policy-from-index.asciidoc[]
include::retry-policy.asciidoc[]

include::get-status.asciidoc[]
include::explain.asciidoc[]
include::start.asciidoc[]
include::stop.asciidoc[]
