Entity - List By Guids

List entities in bulk identified by its GUIDs.

GET {endpoint}/datamap/api/atlas/v2/entity/bulk?guid={guid}
GET {endpoint}/datamap/api/atlas/v2/entity/bulk?api-version=2023-09-01&guid={guid}&minExtInfo={minExtInfo}&ignoreRelationships={ignoreRelationships}

URI Parameters

Name In Required Type Description
endpoint
path True

string

guid
query True

string[]

An array of GUIDs of entities to list.

api-version
query

string

The API version to use for this operation.

ignoreRelationships
query

boolean

Whether to ignore relationship attributes.

minExtInfo
query

boolean

Whether to return minimal information for referred entities.

Responses

Name Type Description
200 OK

AtlasEntitiesWithExtInfo

The request has succeeded.

Other Status Codes

AtlasErrorResponse

An unexpected error response.

Security

OAuth2Auth

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
https://purview.azure.net/.default

Examples

Entity_ListByGuids

Sample Request

GET {endpoint}/datamap/api/atlas/v2/entity/bulk?api-version=2023-09-01&guid=784c0f2f-afd2-e26b-f9cb-984f6c2c5021&guid=b4ebc8be-cef4-860a-bee9-28cc34cb5caa&minExtInfo=True

Sample Response

{
  "referredEntities": {},
  "entities": [
    {
      "typeName": "column",
      "attributes": {
        "owner": null,
        "qualifiedName": "adl://exampleaccount.azuredatalakestore.net/123/1/DP_TFS/CBT/Extensions/DTTP.targets#:xml/Project/PropertyGroup/ExampleName1",
        "name": "ExampleName1",
        "description": null,
        "type": "string"
      },
      "guid": "784c0f2f-afd2-e26b-f9cb-984f6c2c5021",
      "status": "ACTIVE",
      "createdBy": "ExampleCreator",
      "updatedBy": "ExampleUpdator",
      "createTime": 1553072455110,
      "updateTime": 1553072455110,
      "version": 0,
      "relationshipAttributes": {
        "schema": [],
        "inputToProcesses": [],
        "composeSchema": {
          "guid": "cc6652ae-dc6d-90c9-1899-252eabc0e929",
          "typeName": "tabular_schema",
          "displayText": "tabular_schema",
          "relationshipGuid": "400fd8e4-97bd-45eb-a21c-880b4094ce5b",
          "relationshipStatus": "ACTIVE",
          "relationshipAttributes": {
            "typeName": "tabular_schema_columns"
          }
        },
        "meanings": [],
        "outputFromProcesses": [],
        "tabular_schema": null
      },
      "contacts": {
        "Expert": [
          {
            "id": "30435ff9-9b96-44af-a5a9-e05c8b1ae2df",
            "info": "Example Expert Info"
          }
        ],
        "Owner": [
          {
            "id": "30435ff9-9b96-44af-a5a9-e05c8b1ae2df",
            "info": "Example Owner Info"
          }
        ]
      }
    },
    {
      "typeName": "column",
      "attributes": {
        "owner": null,
        "qualifiedName": "adl://exampleaccount.azuredatalakestore.net/123/1/Experience/CBT/Extensions/CodeAnalysis.targets#:xml/Project/PropertyGroup/ExampleName2",
        "name": "ExampleName2",
        "description": null,
        "type": "string"
      },
      "guid": "b4ebc8be-cef4-860a-bee9-28cc34cb5caa",
      "status": "ACTIVE",
      "createdBy": "ExampleCreator",
      "updatedBy": "ExampleUpdator",
      "createTime": 1553072455110,
      "updateTime": 1553072455110,
      "version": 0,
      "relationshipAttributes": {
        "schema": [],
        "inputToProcesses": [],
        "composeSchema": {
          "guid": "381dd3e6-dad5-7409-c21d-ea55b666e420",
          "typeName": "tabular_schema",
          "displayText": "tabular_schema",
          "relationshipGuid": "0b652860-ab79-48cd-a0cf-0867fbba31a3",
          "relationshipStatus": "ACTIVE",
          "relationshipAttributes": {
            "typeName": "tabular_schema_columns"
          }
        },
        "meanings": [],
        "outputFromProcesses": [],
        "tabular_schema": null
      },
      "contacts": {
        "Expert": [
          {
            "id": "30435ff9-9b96-44af-a5a9-e05c8b1ae2df",
            "info": "Example Expert Info"
          }
        ],
        "Owner": [
          {
            "id": "30435ff9-9b96-44af-a5a9-e05c8b1ae2df",
            "info": "Example Owner Info"
          }
        ]
      }
    }
  ]
}

Definitions

Name Description
AtlasClassification

An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.

AtlasEntitiesWithExtInfo

An instance of an entity along with extended info - like hive_table, hive_database.

AtlasEntity

An instance of an entity - like hive_table, hive_database.

AtlasErrorResponse

An error response from the service

AtlasTermAssignmentHeader

The header for term assignment.

AtlasTermAssignmentStatus

Status for term assignment

EntityStatus

Status - can be active or deleted

TimeBoundary

Captures time-boundary details

AtlasClassification

An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.

Name Type Description
attributes

The attributes of the struct.

entityGuid

string

The GUID of the entity.

entityStatus

EntityStatus

Status of the entity - can be active or deleted. Deleted entities are not removed.

lastModifiedTS

string

ETag for concurrency control.

removePropagationsOnEntityDelete

boolean

Determines if propagations will be removed on entity deletion.

typeName

string

The name of the type.

validityPeriods

TimeBoundary[]

An array of time boundaries indicating validity periods.

AtlasEntitiesWithExtInfo

An instance of an entity along with extended info - like hive_table, hive_database.

Name Type Description
entities

AtlasEntity[]

An array of entities.

referredEntities

<string,  AtlasEntity>

The referred entities.

AtlasEntity

An instance of an entity - like hive_table, hive_database.

Name Type Description
attributes

The attributes of the struct.

businessAttributes

Business attributes

classifications

AtlasClassification[]

An array of classifications.

collectionId

string

The collection ID of the entity.

contacts

object

The dictionary of contacts for entities. Key could be Expert or Owner.

createTime

integer

The created time of the record.

createdBy

string

The user who created the record.

customAttributes

object

Custom Attribute

guid

string

The GUID of the entity.

homeId

string

The home ID of the entity.

isIncomplete

boolean

Whether it is a shell entity

labels

string[]

labels

lastModifiedTS

string

ETag for concurrency control.

meanings

AtlasTermAssignmentHeader[]

An array of term assignment headers indicating the meanings of the entity.

provenanceType

integer

Used to record the provenance of an instance of an entity or relationship.

proxy

boolean

Determines if there's a proxy.

relationshipAttributes

The attributes of relationship.

status

EntityStatus

Status of the entity - can be active or deleted. Deleted entities are not removed.

typeName

string

The name of the type.

updateTime

integer

The update time of the record.

updatedBy

string

The user who updated the record.

version

integer

The version of the entity.

AtlasErrorResponse

An error response from the service

Name Type Description
errorCode

string

The error code.

errorMessage

string

The error message.

requestId

string

The request ID.

AtlasTermAssignmentHeader

The header for term assignment.

Name Type Description
confidence

integer

The confidence of the term assignment.

createdBy

string

The user who created the record.

description

string

The description of the term assignment.

displayText

string

The display text.

expression

string

The expression of the term assignment.

relationGuid

string

The GUID of the relationship.

status

AtlasTermAssignmentStatus

The status of terms assignment.

steward

string

The steward of the term.

termGuid

string

The GUID of the term.

AtlasTermAssignmentStatus

Status for term assignment

Name Type Description
DEPRECATED

string

The status is deprecated.

DISCOVERED

string

The status is discovered.

IMPORTED

string

The status is imported.

OBSOLETE

string

The status is obsolete.

OTHER

string

Other status.

PROPOSED

string

The status is proposed.

VALIDATED

string

The status is validated.

EntityStatus

Status - can be active or deleted

Name Type Description
ACTIVE

string

The status is active.

DELETED

string

The status is deleted.

TimeBoundary

Captures time-boundary details

Name Type Description
endTime

string

The end of the time boundary.

startTime

string

The start of the time boundary.

timeZone

string

The timezone of the time boundary.