// This file is autogenerated, DO NOT EDIT
// ml/anomaly-detection/apis/get-category.asciidoc:154

[source, python]
----
resp = client.ml.get_categories(
    job_id="esxi_log",
    page={
        "size": 1
    },
)
print(resp)
----
