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

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>>.

[discrete]
[[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>>

[discrete]
[[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>>

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

* <<ilm-get-status,Get {ilm-init} operation mode>>
* <<ilm-start,Start {ilm-init}>>
* <<ilm-stop,Stop {ilm-init}>>
* <<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[]
