Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get Data Graph Metadata
Get metadata of a data graph in Data Cloud by data graph API name and data space name.
If the data space name isn't provided, the API uses the default value.
Supported REST HTTP Methods
URI: /services/data/v64.0/actions/standard/cdpGetDataGraphMetadata
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
Request Parameters
| Input | Type | Description |
|---|---|---|
| dataGraphApiName | string | API name of the data graph to query. |
| dataSpaceApiName | string | API name of the data space. |
Example
1{
2 {
3 "inputs": [
4 {
5 "dataspaceApiName": "default",
6 "dataGraphApiName": "DGTest"
7 }
8 ]
9}1[
2 {
3 "actionName": "cdpGetDataGraphMetadata",
4 "errors": null,
5 "invocationId": null,
6 "isSuccess": true,
7 "outcome": null,
8 "outputValues": {
9 "dataGraphMetadata": [
10 "{\"createdBy\":\"005SB000000wYK5YAM\",\"createdDate\":\"Fri Apr 04 06:55:04 GMT 2025\",\"dataspaceName\":\"AMER\",\"description\":null,\"id\":\"0g7SB000000Ku2rYAC\",\"label\":\"Data Graph Demo\",\"modifiedBy\":null,\"modifiedDate\":null,\"name\":\"Data_Graph_Demo\",\"cacheDurationInDays\":null,\"dayZeroMappingDevName\":null,\"dayZeroTransformDevName\":null,...}"
11 ]
12 },
13 "sortOrder": -1,
14 "version": 1
15 }
16]