Newer Version Available

This content describes an older version of this product. View Latest

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.

This resource is available in API version 64.0 and later.

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 Details
dataGraphApiName
Type
string
Description
API name of the data graph to query.
dataSpaceApiName
Type
string
Description
API name of the data space.

Example

Example Request Body
1{
2   {
3  "inputs": [
4    {
5      "dataspaceApiName": "default",
6      "dataGraphApiName": "DGTest”
7    }
8  ]
9}
Example Response Body
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]