> ## Documentation Index
> Fetch the complete documentation index at: https://developer.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search content using metadata

export const Link = ({href, children, className, ...props}) => {
  const localizedHref = href;
  return <a href={localizedHref} className={className} {...props}>
      {children}
    </a>;
};

The Box Metadata Query API enables programmatic search of Box content based
strictly on applied custom metadata values.

The structure of a metadata query is similar to that of a SQL query and allows
for Boolean operators, such as AND, OR, and NOT, as well as comparison or range
operators, such as equal to, greater-than, and less-than.

Some benefits of the Metadata Query API include:

* no indexing delay; query immediately after metadata creations, updates, and deletions
* ability to specify a sort order by one or more fields
* no limitation on the number of characters that are queryable
* queries return item properties and metadata instances

<Frame center>
  <img src="https://mintcdn.com/box/_tECS-SYBYV9K-kZ/images/guides/search/quick-start/metadata.png?fit=max&auto=format&n=_tECS-SYBYV9K-kZ&q=85&s=005b27487d50a9adcac490a4d2287fc3" alt="Metadata" width="853" height="600" data-path="images/guides/search/quick-start/metadata.png" />
</Frame>

## Overview

This guide will take you through the following steps.

1. <Link href="/guides/search/quick-start/create-metadata-template">Create a metadata template</Link>
2. <Link href="/guides/search/quick-start/locate-template-info">Locate information about the metadata template</Link> via API
3. <Link href="/guides/search/quick-start/apply-template-to-file">Apply the metadata template</Link> to at least one file
4. <Link href="/guides/search/quick-start/metadata-query-api">Construct a metadata query API call</Link> to obtain the content from step 3
