// This file is autogenerated, DO NOT EDIT
// watcher/example-watches/example-watch-clusterstatus.asciidoc:115

[source, python]
----
resp = client.search(
    index=".watcher-history*",
    sort=[
        {
            "result.execution_time": "desc"
        }
    ],
)
print(resp)
----
