The Gen3 technical documentation is moving to a new home at docs.gen3.org! This will replace much of the technical content from gen3.org. Please check out the new site and provide feedback during the transition period while both are available. After the transition period, gen3.org will remain as a site for high-level content about Gen3 along with community and events information, but all Gen3 technical guides and resources will move to docs.gen3.org.

Gen3 - Flat Model API

Gen3 Queries

From the GraphiQL interface of the data portal, users can use the Graph Model or Flat Model which match to Postgres and ElasticSearch databases, respectively. The same queries can be sent to both the flat and graph model API endpoints from the command-line.

Flat Model

In the Flat Model, our microservice Guppy converts GraphiQL queries and hits the Elasticsearch database. Here, queries support Aggregations for string (bin counts; number of records that each key has) and numeric (summary statistics such as minimum, maximum, sum, etc) fields. For more details see the full description on our Guppy repository on Github or on the User Guide .

Graph Model

In the Graph Model, our microservice Peregrine converts GraphiQL queries and hits the PostgreSQL database. For more information see the full description on our Peregrine repository on Github or on the User Guide .