// This file is autogenerated, DO NOT EDIT
// aggregations/bucket/terms-aggregation.asciidoc:419

[source, python]
----
resp = client.search(
    aggs={
        "tags": {
            "terms": {
                "field": "tags",
                "min_doc_count": 10
            }
        }
    },
)
print(resp)
----
