# Is there a schema of API types (such as aggregations and pipeline processors) available somewhere?

**URL:** <https://discuss.elastic.co/t/is-there-a-schema-of-api-types-such-as-aggregations-and-pipeline-processors-available-somewhere/271829>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [April 30, 2021, 7:24pm UTC](https://discuss.elastic.co/t/is-there-a-schema-of-api-types-such-as-aggregations-and-pipeline-processors-available-somewhere/271829 "2021-04-30T19:24:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chance](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chance/32/88046_2.png) [@Chance](https://discuss.elastic.co/u/Chance)\
**Post date:** [April 30, 2021, 7:24pm UTC](https://discuss.elastic.co/t/is-there-a-schema-of-api-types-such-as-aggregations-and-pipeline-processors-available-somewhere/271829/1 "2021-04-30T19:24:06Z")

</div>

I'm putting together a package that's basically types for the official elasticsearch go client. I've gotten most of the queries done (I need to finish up the span set and a couple of others). Writing them out was rather tedious. I'm wondering if there is, by any chance, a schema of types available somewhere? I'd really like to just generate out the remainder. I'm mostly interested in aggregations and pipeline processors, as those should be less dynamic than queries.

Here's what I have so far: [GitHub - chanced/picker: Utilities that pair with the official Go Elasticsearch package](https://github.com/chanced/picker)

Thanks,  
Chance

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 28, 2021, 7:24pm UTC](https://discuss.elastic.co/t/is-there-a-schema-of-api-types-such-as-aggregations-and-pipeline-processors-available-somewhere/271829/2 "2021-05-28T19:24:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
