---
schema_version: "1"
id: b84a7021edac471e404aadb936adcbf8bed5faf51b4e047ace700fcf3dd28a7a
title: ConnectApi.CdpQueryMetadataOutput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_cdp_query_metadata_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_cdp_query_metadata_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a7055de57d90cadf9f05b07bde0d53549bbfba145f957d5599f6ed30679118b7
description: Query metadata result.
---
# ConnectApi.CdpQueryMetadataOutput

Query metadata result.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| metadata | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<Object> | Metadata set. | 52.0 |

#### See Also

- [getAllMetadata()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getAllMetadata_1 "Get all metadata, including Calculated Insights, Engagement, Profile, and other objects, as well as their relationships to other objects.")
- [getAllMetadata(entityType, entityCategory, entityName)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getAllMetadata_2 "Get all metadata, filtering for entity type, category, and name.")
- [getAllMetadata(entityType, entityCategory, entityName, dataspace)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getAllMetadata_3 "Get all metadata, filtering for entity type, category, name, and data space.")
- [getInsightsMetadata()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getInsightsMetadata_1 "Get Insight metadata, including Calculated Insight objects, their dimensions and measures.")
- [getInsightsMetadata(ciName)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getInsightsMetadata_2 "Get metadata for a Calculated Insight object. Metadata includes dimensions and measures.")
- [getInsightsMetadata(ciName, dataspace)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getInsightsMetadata_3 "Get metadata for a Calculated Insight object and specify the data space. Metadata includes dimensions and measures.")
- [getProfileMetadata()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getProfileMetadata_1 "Get metadata for data model objects in the profile category, including Individual, Contact Point Email, Unified Individual, and Contact Point Address objects. Metadata includes the objects, their fields, and category.")
- [getProfileMetadata(dataModelName)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getProfileMetadata_2 "Get metadata for a data model object in the profile category, such as Individual, Contact Point Email, Unified Individual, and Contact Point Address. Metadata includes the list of fields, data types, and indexes available for lookup.")
- [getProfileMetadata(dataModelName, dataspace)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CdpQuery_static_methods.htm#apex_ConnectAPI_CdpQuery_getProfileMetadata_3 "Get metadata for a data model object in the profile category, such as Individual, Contact Point Email, Unified Individual, and Contact Point Address. Also, specify the data space. Metadata includes the list of fields, data types, and indexes available for lookup.")