Skip to main content
Version: 1.6.0

Queries

aggregateAcrossEntities​

Type: AggregateResults

Aggregate across DataHub entities

Arguments

NameDescription
input
AggregateAcrossEntitiesInput!

appConfig​

Type: AppConfig

Fetch configurations Used by DataHub UI

application​

Type: Application

Fetch an Application by primary key (urn)

Arguments

NameDescription
urn
String!

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.

document​

Type: Document

Get a Document by URN. Requires the GET_ENTITY privilege for the document or MANAGE_DOCUMENTS platform privilege.

Arguments

NameDescription
urn
String!

domain​

Type: Domain

Fetch a Domain by primary key (urn)

Arguments

NameDescription
urn
String!

entities​

Type: [Entity]

Gets entities based on their urns checkForExistence will do n+1 sql calls to check for existence of each entity requested if set to true

Arguments

NameDescription
urns
[String!]!
checkForExistence
Boolean

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!

getPresignedUploadUrl​

Type: GetPresignedUploadUrlResponse!

Generates a presigned url to upload files

Arguments

NameDescription
input
GetPresignedUploadUrlInput!

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!

getServiceAccount​

Type: ServiceAccount

Get a service account by URN.

Arguments

NameDescription
urn
String!

getTimeline​

Type: GetTimelineResult

Returns a list of timeline actions for an entity based on the filter criteria

Arguments

NameDescription
input
GetTimelineInput!

globalHomePageSettings​

Type: GlobalHomePageSettings

Global settings related to the home page for an instance

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

latestProductUpdate​

Type: ProductUpdate

Fetch the latest product update information from configured JSON source. Returns null if the JSON source is unavailable or feature is disabled.

Arguments

NameDescription
refreshCache
Boolean

listAccessTokens​

Type: ListAccessTokenResult!

List access tokens stored in DataHub.

Arguments

NameDescription
input
ListAccessTokenInput!

listApplicationAssets​

Type: SearchResults

List Application assets for a given urn

Arguments

NameDescription
urn
String!
input
SearchAcrossEntitiesInput!

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

Lists all DataHub Domains belonging to the specified parent. If no parent is specified, lists root domains.

Arguments

NameDescription
input
ListDomainsInput!

listExecutionRequests​

Type: IngestionSourceExecutionRequests

List all execution requests

Arguments

NameDescription
input
ListExecutionRequestsInput!

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!

listLifecycleStages​

Type: [LifecycleStageType!]!

Return all registered lifecycle stage types. Useful for agents and UIs to discover available stages before calling setLifecycleStage.

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!

listServiceAccounts​

Type: ListServiceAccountsResult!

List service accounts stored in DataHub.

Arguments

NameDescription
input
ListServiceAccountsInput!

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!

searchDocuments​

Type: SearchDocumentsResult!

Search Documents with hybrid semantic search and filtering support. Supports filtering by parent document, types, domains, and query.

Results are automatically filtered based on document status:

  • PUBLISHED documents are shown to all users
  • UNPUBLISHED documents are only shown if owned by the current calling user or a group they belong to

This ensures that unpublished documents remain private to their owners while published documents are discoverable by everyone.

Additionally, this API does NOT return documents that have should not be shown in "global" context via their document settings.

Arguments

NameDescription
input
SearchDocumentsInput!

searchUsers​

Type: SearchResults

Search DataHub Users

Arguments

NameDescription
input
SearchAcrossEntitiesInput!

semanticSearch​

Type: SearchResults

Full text semantic search against a specific DataHub Entity Type

Arguments

NameDescription
input
SearchInput!

semanticSearchAcrossEntities​

Type: SearchResults

Semantic search across DataHub entities

Arguments

NameDescription
input
SearchAcrossEntitiesInput!

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

versionSet​

Type: VersionSet

Fetch a Version Set by its URN

Arguments

NameDescription
urn
String!

view​

Type: DataHubView

Fetch a View by primary key (urn)

Arguments

NameDescription
urn
String!