Skip to main content
Version: Next

Queries

aggregateAcrossEntities

Type: AggregateResults

Aggregate across DataHub entities

Arguments

NameDescription
input
AggregateAcrossEntitiesInput!

appConfig

Type: AppConfig

Fetch configurations Used by DataHub UI

assertion

Type: Assertion

Fetch an Assertion by primary key (urn)

Arguments

NameDescription
urn
String!

autoComplete

Type: AutoCompleteResults

Autocomplete a search query against a specific DataHub Entity Type

Arguments

NameDescription
input
AutoCompleteInput!

autoCompleteForMultiple

Type: AutoCompleteMultipleResults

Autocomplete a search query against a specific set of DataHub Entity Types

Arguments

NameDescription
input
AutoCompleteMultipleInput!

batchGetStepStates

Type: BatchGetStepStatesResult!

Batch fetch the state for a set of steps.

Arguments

NameDescription
input
BatchGetStepStatesInput!

browse

Type: BrowseResults

Hierarchically browse a specific type of DataHub Entity by path Used by explore in the UI

Arguments

NameDescription
input
BrowseInput!

browsePaths

Type: [BrowsePath!]

Retrieve the browse paths corresponding to an entity

Arguments

NameDescription
input
BrowsePathsInput!

browseV2

Type: BrowseResultsV2

Browse for different entities by getting organizational groups and their aggregated counts + content. Uses browsePathsV2 aspect and replaces our old browse endpoint.

Arguments

NameDescription
input
BrowseV2Input!

businessAttribute

Type: BusinessAttribute

Fetch a Business Attribute by primary key (urn)

Arguments

NameDescription
urn
String!

chart

Type: Chart

Fetch a Chart by primary key (urn)

Arguments

NameDescription
urn
String!

connection

Type: DataHubConnection

Get a set of connection details by URN. This requires the 'Manage Connections' platform privilege. Returns null if a connection with the provided urn does not exist.

Arguments

NameDescription
urn
String!

container

Type: Container

Fetch an Entity Container by primary key (urn)

Arguments

NameDescription
urn
String!

corpGroup

Type: CorpGroup

Fetch a CorpGroup, representing a DataHub platform group by primary key (urn)

Arguments

NameDescription
urn
String!

corpUser

Type: CorpUser

Fetch a CorpUser, representing a DataHub platform user, by primary key (urn)

Arguments

NameDescription
urn
String!

dashboard

Type: Dashboard

Fetch a Dashboard by primary key (urn)

Arguments

NameDescription
urn
String!

dataFlow

Type: DataFlow

Fetch a Data Flow (or Data Pipeline) by primary key (urn)

Arguments

NameDescription
urn
String!

dataJob

Type: DataJob

Fetch a Data Job (or Data Task) by primary key (urn)

Arguments

NameDescription
urn
String!

dataPlatform

Type: DataPlatform

Fetch a Data Platform by primary key (urn)

Arguments

NameDescription
urn
String!

dataPlatformInstance

Type: DataPlatformInstance

Fetch a Data Platform Instance by primary key (urn)

Arguments

NameDescription
urn
String!

dataProcessInstance

Type: DataProcessInstance

Fetch a Data Process Instance by primary key (urn)

Arguments

NameDescription
urn
String!

dataProduct

Type: DataProduct

Fetch a DataProduct by primary key (urn)

Arguments

NameDescription
urn
String!

dataset

Type: Dataset

Fetch a Dataset by primary key (urn)

Arguments

NameDescription
urn
String!

debugAccess

Type: DebugAccessResult!

Experimental API to debug Access for users. Backward incompatible changes will be made without notice in the future. Do not build on top of this API.

Arguments

NameDescription
userUrn
String!

docPropagationSettings

Type: DocPropagationSettings

Fetch the global settings related to the docs propagation feature.

domain

Type: Domain

Fetch a Domain by primary key (urn)

Arguments

NameDescription
urn
String!

entities

Type: [Entity]

Gets entities based on their urns

Arguments

NameDescription
urns
[String!]!

entity

Type: Entity

Gets an entity based on its urn

Arguments

NameDescription
urn
String!

entityExists

Type: Boolean

Get whether or not not an entity exists

Arguments

NameDescription
urn
String!

erModelRelationship

Type: ERModelRelationship

Fetch a ERModelRelationship by primary key (urn)

Arguments

NameDescription
urn
String!

executionRequest

Type: ExecutionRequest

Get an execution request urn: The primary key associated with the execution request.

Arguments

NameDescription
urn
String!

form

Type: Form

Fetch a Form by primary key (urn)

Arguments

NameDescription
urn
String!

getAccessToken

Type: AccessToken

Generates an access token for DataHub APIs for a particular user & of a particular type Deprecated, use createAccessToken instead

Arguments

NameDescription
input
GetAccessTokenInput!

getAccessTokenMetadata

Type: AccessTokenMetadata!

Fetches the metadata of an access token. This is useful to debug when you have a raw token but don't know the actor.

Arguments

NameDescription
token
String!

getAnalyticsCharts

Type: [AnalyticsChartGroup!]!

Retrieves a set of server driven Analytics Charts to render in the UI

getEntityCounts

Type: EntityCountResults

Fetches the number of entities ingested by type

Arguments

NameDescription
input
EntityCountInput

getGrantedPrivileges

Type: Privileges

Get all granted privileges for the given actor and resource

Arguments

NameDescription
input
GetGrantedPrivilegesInput!

getHighlights

Type: [Highlight!]!

Retrieves a set of server driven Analytics Highlight Cards to render in the UI

getInviteToken

Type: InviteToken

Get invite token

Arguments

NameDescription
input
GetInviteTokenInput!

getMetadataAnalyticsCharts

Type: [AnalyticsChartGroup!]!

Retrieves a set of charts regarding the ingested metadata

Arguments

NameDescription
input
MetadataAnalyticsInput!

getQuickFilters

Type: GetQuickFiltersResult

Get quick filters to display in auto-complete

Arguments

NameDescription
input
GetQuickFiltersInput!

getRootGlossaryNodes

Type: GetRootGlossaryNodesResult

Get all GlossaryNodes without a parentNode

Arguments

NameDescription
input
GetRootGlossaryEntitiesInput!

getRootGlossaryTerms

Type: GetRootGlossaryTermsResult

Get all GlossaryTerms without a parentNode

Arguments

NameDescription
input
GetRootGlossaryEntitiesInput!

getSchemaBlame

Type: GetSchemaBlameResult

Returns the most recent changes made to each column in a dataset at each dataset version.

Arguments

NameDescription
input
GetSchemaBlameInput!

getSchemaVersionList

Type: GetSchemaVersionListResult

Returns the list of schema versions for a dataset.

Arguments

NameDescription
input
GetSchemaVersionListInput!

getSecretValues

Type: [SecretValue!]

Fetch the values of a set of secrets. The caller must have the MANAGE_SECRETS privilege to use.

Arguments

NameDescription
input
GetSecretValuesInput!

globalViewsSettings

Type: GlobalViewsSettings

Fetch the Global Settings related to the Views feature. Requires the 'Manage Global Views' Platform Privilege.

glossaryNode

Type: GlossaryNode

Fetch a Glossary Node by primary key (urn)

Arguments

NameDescription
urn
String!

glossaryTerm

Type: GlossaryTerm

Fetch a Glossary Term by primary key (urn)

Arguments

NameDescription
urn
String!

ingestionSource

Type: IngestionSource

Fetch a specific ingestion source urn: The primary key associated with the ingestion source.

Arguments

NameDescription
urn
String!

isAnalyticsEnabled

Type: Boolean!

Deprecated, use appConfig Query instead Whether the analytics feature is enabled in the UI

listAccessTokens

Type: ListAccessTokenResult!

List access tokens stored in DataHub.

Arguments

NameDescription
input
ListAccessTokenInput!

listBusinessAttributes

Type: ListBusinessAttributesResult

Fetch all Business Attributes

Arguments

NameDescription
input
ListBusinessAttributesInput!

listDataProductAssets

Type: SearchResults

List Data Product assets for a given urn

Arguments

NameDescription
urn
String!
input
SearchAcrossEntitiesInput!

listDomains

Type: ListDomainsResult

List all DataHub Domains

Arguments

NameDescription
input
ListDomainsInput!

listGlobalViews

Type: ListViewsResult

List Global DataHub Views

Arguments

NameDescription
input
ListGlobalViewsInput!

listGroups

Type: ListGroupsResult

List all DataHub Groups

Arguments

NameDescription
input
ListGroupsInput!

listIngestionSources

Type: ListIngestionSourcesResult

List all ingestion sources

Arguments

NameDescription
input
ListIngestionSourcesInput!

listMyViews

Type: ListViewsResult

List DataHub Views owned by the current user

Arguments

NameDescription
input
ListMyViewsInput!

listOwnershipTypes

Type: ListOwnershipTypesResult!

List Custom Ownership Types

Arguments

NameDescription
input
ListOwnershipTypesInput!

Input required for listing custom ownership types

listPolicies

Type: ListPoliciesResult

List all DataHub Access Policies

Arguments

NameDescription
input
ListPoliciesInput!

listPosts

Type: ListPostsResult

List all Posts

Arguments

NameDescription
input
ListPostsInput!

listQueries

Type: ListQueriesResult

List Dataset Queries

Arguments

NameDescription
input
ListQueriesInput!

Input required for listing queries

listRecommendations

Type: ListRecommendationsResult

Fetch recommendations for a particular scenario

Arguments

NameDescription
input
ListRecommendationsInput!

listRoles

Type: ListRolesResult

List all DataHub Roles

Arguments

NameDescription
input
ListRolesInput!

listSecrets

Type: ListSecretsResult

List all secrets stored in DataHub (no values)

Arguments

NameDescription
input
ListSecretsInput!

listTests

Type: ListTestsResult

List all DataHub Tests

Arguments

NameDescription
input
ListTestsInput!

listUsers

Type: ListUsersResult

List all DataHub Users

Arguments

NameDescription
input
ListUsersInput!

me

Type: AuthenticatedUser

Fetch details associated with the authenticated user, provided via an auth cookie or header

mlFeature

Type: MLFeature

Incubating: Fetch a ML Feature by primary key (urn)

Arguments

NameDescription
urn
String!

mlFeatureTable

Type: MLFeatureTable

Incubating: Fetch a ML Feature Table by primary key (urn)

Arguments

NameDescription
urn
String!

mlModel

Type: MLModel

Incubating: Fetch an ML Model by primary key (urn)

Arguments

NameDescription
urn
String!

mlModelGroup

Type: MLModelGroup

Incubating: Fetch an ML Model Group by primary key (urn)

Arguments

NameDescription
urn
String!

mlPrimaryKey

Type: MLPrimaryKey

Incubating: Fetch a ML Primary Key by primary key (urn)

Arguments

NameDescription
urn
String!

notebook

Type: Notebook

Fetch a Notebook by primary key (urn)

Arguments

NameDescription
urn
String!

role

Type: Role

Fetch a Role by primary key (urn)

Arguments

NameDescription
urn
String!

scrollAcrossEntities

Type: ScrollResults

Search DataHub entities by providing a pointer reference for scrolling through results.

Arguments

NameDescription
input
ScrollAcrossEntitiesInput!

scrollAcrossLineage

Type: ScrollAcrossLineageResults

Search across the results of a graph query on a node, uses scroll API

Arguments

NameDescription
input
ScrollAcrossLineageInput!

Type: SearchResults

Full text search against a specific DataHub Entity Type

Arguments

NameDescription
input
SearchInput!

searchAcrossEntities

Type: SearchResults

Search DataHub entities

Arguments

NameDescription
input
SearchAcrossEntitiesInput!

searchAcrossLineage

Type: SearchAcrossLineageResults

Search across the results of a graph query on a node

Arguments

NameDescription
input
SearchAcrossLineageInput!

structuredProperty

Type: StructuredPropertyEntity

Fetch a Structured Property by primary key (urn)

Arguments

NameDescription
urn
String!

tag

Type: Tag

Fetch a Tag by primary key (urn)

Arguments

NameDescription
urn
String!

test

Type: Test

Fetch a Test by primary key (urn)

Arguments

NameDescription
urn
String!

versionedDataset

Type: VersionedDataset

Fetch a Dataset by primary key (urn) at a point in time based on aspect versions (versionStamp)

Arguments

NameDescription
urn
String!
versionStamp
String

view

Type: DataHubView

Fetch a View by primary key (urn)

Arguments

NameDescription
urn
String!