---
schema_version: "1"
id: 4a03cd75501d171bcd751658290415ac96ab76bf28b998e5262c943554e9f5cb
title: ListMetadataQuery
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_listmetadataquery.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_listmetadataquery.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 710918dcc85b4338293641b63e332d1fc5311d87624b0ae8f806e1062f6699f2
description: The ListMetadataQuery parameter represents a list of objects that specify which components you are interested in.
---
# ListMetadataQuery

The ListMetadataQuery parameter represents a list of objects that specify which components you are interested in.

## folder

- **Type**: string
- **Description**: The folder associated with the component. This field is required for components that use folders, such as [Dashboard](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_dashboard.htm), [Document](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_document.htm), [EmailTemplate](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_emailtemplate.htm), or [Report](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_report.htm).

## type

- **Type**: string
- **Description**: Required. The metadata type, such as CustomObject, CustomField, or ApexClass.