GET /api/v1/dataGraph/metadata
Retrieves metadata for all accessible data graph objects in your Data Cloud instance. This endpoint returns detailed information about primary data model objects, related objects, and their fields.
- HTTP Method: GET
- Availability: Data Cloud v1.0, Salesforce v51.0
- format: REST
- URI:
/api/v1/dataGraph/metadata
Parameter | Type | Description |
---|---|---|
dataGraphName | string | Optional. The name of a specific data graph to retrieve metadata for. Example: UnifiedIndividual_DG |
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
- The response includes all data graphs available to the authenticated user
- Each data graph's metadata includes all available fields and relationships
- The primaryObjectName field indicates the main entity in the data graph
- RelatedObjects show other entities that are connected to the primary entity
- Field types include STRING, NUMBER, DATE, boolean, and more