---
schema_version: "1"
id: c438f314608d705373c1395b147afe50a86c0f106b307b9f7e758b6a3294cf27
title: Get Metadata for all Data Graphs
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-query-guide/references/data-cloud-query-api-reference/data-graph/c360a-api-v1-data-graphs-metadata.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-v1-data-graphs-metadata.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a953e4a17c9750568bb7478cd5d193b145144925cc70513be5de53e7d44354d0
products:
  - Data 360 Query Guide
  - Data 360 Developer Documentation
---
# Get Metadata for all Data Graphs

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 graph
- `description`: Description of the data graph
- `dataspaceName`: The dataspace where the data graph is located
- `primaryObjectName`: The name of the primary data model object
- `valuesDmoName`: The name of the values data model object
- `idDmoName`: The name of the ID data model object
- `version`: The version of the data graph
- `primaryObjectType`: The type of the primary object
- `status`: The current status of the data graph
- `object`: Object containing field definitions and relationships

## Examples

### Request

```http
GET https://{TSE}.360a.salesforce.com/api/v1/dataGraph/metadata?entityName=UnifiedIndividual_DG
```

### Response

```json
{
  "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
