Retrieves metadata for all accessible data graph objects in your Data 360 instance. This endpoint returns detailed information about primary data model objects, related objects, and their fields.
Syntax
- HTTP Method: GET
- Availability: Data 360 v1.0, Salesforce v51.0
- Format: REST
- URI:
/api/v1/dataGraph/metadata
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| dataGraphName | string | Optional. The name of a specific data graph to retrieve metadata for. Example: UnifiedIndividual_DG |
Response Structure
The response includes an array of metadata objects, each containing:
developerName: The unique identifier of the data graphdescription: Description of the data graphdataspaceName: The dataspace where the data graph is locatedprimaryObjectName: The name of the primary data model objectvaluesDmoName: The name of the values data model objectidDmoName: The name of the ID data model objectversion: The version of the data graphprimaryObjectType: The type of the primary objectstatus: The current status of the data graphobject: Object containing field definitions and relationships
Examples
Request
GET https://{TSE}.360a.salesforce.com/api/v1/dataGraph/metadata?entityName=UnifiedIndividual_DG
Response
{
"metadata": [
{
"developerName": "UnifiedIndividual_DG",
"description": "",
"dataspaceName": "default",
"primaryObjectName": "UnifiedssotIndividualIr1__dlm",
"valuesDmoName": "Individual_DG_VALUE__dlm",
"idDmoName": "Individual_DG_ID__dlm",
"version": "1",
"primaryObjectType": "DMO",
"status": "READY",
"object": {
"developerName": "UnifiedssotIndividualIr1__dlm",
"type": "DMO",
"memberDmoName": "ssotIndividualIr1_FRAGMENT15__dlm",
"fields": [
{
"developerName": "ssot__Id__c",
"lookupCol": "false",
"length": "1",
"dataType": "STRING",
"keyCol": "true"
}
],
"relatedObjects": [
{
"developerName": "UnifiedLinkssotIndividualIr1__dlm",
"type": "DMO",
"memberDmoName": "LinkssotIndividual_FRAGMENT7__dlm",
"fields": [
{
"developerName": "SourceRecordId__c",
"lookupCol": "false",
"length": "1",
"dataType": "STRING",
"keyCol": "true"
},
{
"developerName": "UnifiedRecordId__c",
"lookupCol": "false",
"length": "1",
"dataType": "STRING",
"keyCol": "false"
}
],
"paths": [
{
"fieldName": "UnifiedRecordId__c",
"parentFieldName": "ssot__Id__c",
"cardinality": "NTOONE"
}
]
}
]
}
}
]
}
Notes
- The response includes all data graphs available to the authenticated user
- Each data graph's metadata includes all available fields and relationships