GET /api/v1/dataGraph/{dataGraphName}/{dataGraphRecordId}

Retrieves a specific record from a data graph by its unique identifier. This endpoint allows you to access complete record data including all related fields from connected entities.

  • HTTP Method: GET
  • Availability: Data Cloud v1.0, Salesforce v51.0
  • format: REST
  • URI: /api/v1/dataGraph/{dataGraphName}/{id}?live=true/false
ParameterTypeDescription
dataGraphEntityNamestringRequired. The unique identifier of the data graph. Example: individual_eng_dg
idstringRequired. The unique identifier of the record to retrieve. Example: 100005
ParameterTypeDescription
livebooleanRetrieves the latest data graph data if set to true. Retrieves the precalculated data graph data by default.
ParameterTypeDescription
dataspacestringThe dataspace that the query executes in.

The response includes:

  • data: Array of objects containing the requested data
  • done: boolean indicating if all results have been returned
  • The record ID must be a valid identifier in the data graph
  • The response includes all fields from the primary record
  • Related records are included based on the data graph relationships
  • The data is returned as a JSON blob containing all related information
  • The API supports both direct and indirect relationships