// This file is autogenerated, DO NOT EDIT
// cluster/state.asciidoc:150

[source, python]
----
resp = client.cluster.state(
    metric="metadata,routing_table",
    index="foo,bar",
)
print(resp)
----
