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

You can use the following APIs to manage policies on indices. See
<<index-lifecycle-management,Managing the index lifecycle>> for more information
about 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>><commit_msg>Update ilm-api.asciidoc, point to REMOVE policy (#38235) (#38463)<commit_after>[[index-lifecycle-management-api]]
== {ilm-cap} API

You can use the following APIs to manage policies on indices. See
<<index-lifecycle-management,Managing the index lifecycle>> for more information
about 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>>
{'fraction_non_alphanumeric': 0.14519731943410275, 'fraction_numerical': 0.007446016381236039, 'mean_word_length': 5.822335025380711, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4925770', 'n_tokens_mistral': 438, 'n_tokens_neox': 425, 'n_words': 116}