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 right

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 URL(https://prod.api.faros.ai/graphs/{graph}/graphql where graph is the name of your graph such as default) and your query: