Using GraphiQL Application to Query Data

You can use any GraphQL client to query data from the Faros GraphQL database. In this doc, we'll configure and use a freely available, open source desktop app called GraphiQL for this purpose.

Prerequisites

In order to proceed you'll need:

Setup

Follow these steps to configure the app to connect to the Faros GraphQL database:

  • Open the GraphiQL app
  • Select New Query from the File menu
  • Click Edit Headers button in upper left

In this dialog add your API key and the x-faros-graph-version header:

Press the escape key to return to main window. Next enter the Faros GraphQL endpoint (https://prod.api.faros.ai/graphs/faros/graphql) and your query: