// This file is autogenerated, DO NOT EDIT
// aggregations/metrics/percentile-aggregation.asciidoc:110

[source, python]
----
resp = client.search(
    index="latency",
    size=0,
    aggs={
        "load_time_outlier": {
            "percentiles": {
                "field": "load_time",
                "keyed": False
            }
        }
    },
)
print(resp)
----
