Skip to main content
Version: 0.13.0

Getting Started

The Acryl DataHub GraphQL API is an extension of the open source DataHub GraphQL API.

For a full reference to the Queries & Mutations available for consumption, check out Queries & Mutations.

Connecting to the API

When you generate the token you will see an example of curl command which you can use to connect to the GraphQL API.

Note that there is a single URL mentioned there but it can be any of these

  • https://your-account.acryl.io/api/graphql
  • https://your-account.acryl.io/api/gms/graphql

If there is any example that requires you to connect to GMS then you can use the second URL and change the endpoints.

e.g. to get configuration of your GMS server you can use

curl -X GET 'https://your-account.acryl.io/api/gms/config' --header <YOUR_TOKEN>

e.g. to connect to ingestion endpoint for doing ingestion programmatically you can use the below URL

Exploring the API

The entire GraphQL API can be explored & introspected using GraphiQL, an interactive query tool which allows you to navigate the entire Acryl GraphQL schema as well as craft & issue using an intuitive UI.

GraphiQL is available for each Acryl DataHub deployment, locating at https://your-account.acryl.io/api/graphiql.

Querying the API

Currently, we do not offer language-specific SDKs for accessing the DataHub GraphQL API. For querying the API, you can make use of a variety of per-language client libraries. For a full list, see GraphQL Code Libraries, Tools, & Services.