Back to API

GraphQL API

Query exactly the data you need with GraphQL.

Endpoint

https://api.zenithdata.com/graphql

Example Query

query {
  asset(id: "table_123") {
    name
    description
    columns {
      name
      type
      tags
    }
    lineage {
      upstream {
        name
      }
    }
  }
}

Mutations

mutation {
  updateAsset(id: "table_123", input: {
    description: "Updated description"
  }) {
    id
    description
  }
}

Schema Explorer

Use the GraphQL Playground at /graphql to explore the schema.