My mistake, looks like ES uses the aggs keyword.