/metadata_queries/execute_readQuery files/folders by metadata
Create a search using SQL-like syntax to return items that match specific metadata.
By default, this endpoint returns only the most basic info about the items for
which the query matches. To get additional fields for each item, including any
of the metadata, use the fields attribute in the query.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
A 400 is returned: Returns an error when the request body is not valid.
-
invalid_query- Any of the provided body parameters might be incorrect. This can mean thequeryis incorrect, as well as some cases where thefromvalue does not represent a valid template. -
unexpected_json_type- An argument from thequerystring is not present inquery_param. For example,queryofname = :namerequires thequery_paramto include a value for thenameargument, for example{ "name": "Box, Inc" }. A 404 is returned: Returns an error when a metadata template with the givenscopeandtemplateKeycan not be found. The error response will include extra details. -
instance_not_found- The template was not found. Please make sure to use the full template scope including the enterprise ID, likeenterprise_12345. Any other status is an error: An unexpected client error.