Query Data Graph Data
To query metadata and data from data graphs, use the Data Graphs APIs.
- Your orgs must be provisioned with Data Cloud licenses.
- To have full access to objects in Data Cloud, users must be assigned to appropriate roles. See User Roles and Permission Sets in Data Cloud.
- To authenticate, you must acquire and exchange an access token. For details, see Getting Started.
In example URLs, TSE refers to a tenant-specific endpoint, a unique, system-generated endpoint to each of your orgs.
-
GET /api/v1/dataGraph/metadata
Requests the metadata for all accessible data graph objects. The metadata response includes the primary data model object, related objects, and their fields. You can also retrieve the metadata for a specific data graph, by providing its name in the request parameters.
-
GET /api/v1/dataGraph/{dataGraphName}/{dataGraphRecordId}
Request data from a specified data graph.
-
GET /api/v1/dataGraph/{dataGraphName}?lookupKeys=[]
Use lookup to request data from a data graph. The lookup fetches data from a data graph using fields of the primary Data Model Object (DMO) or the primary key of any participating DMO of the data graph.
See Also