---
title: "How to limit the fields that come back in a query"
description: "Optimize API query results by limiting returned fields with the _fields parameter to enhance performance and focus on essential data. (Support 1.0)"
product: "Support"
version: "1.0"
url: "/documentation/support/1.0/support/all/how-to-limit-the-fields-that-come-back-in-a-query"
---

# How to limit the fields that come back in a query

Query API calls like

https://api.cloudcms.com/docs#!/node/post\_repositories\_repositoryId\_branches\_branchId\_nodes\_query

support a parameter named `_fields` which defines an object specifying the node properties you want to include in the result set for matching nodes.  
  
For example in the following query I want the `title`, `subTitle` and `slug` fields returned:

{
  "\_type":"my:article", 
  "\_fields":{
   "title":1,
   "subTitle":1,
   "slug":1
  }
}

  
The result set would look something like the following. Note that "\_doc" is always returned for each node:

{
"rows": \[{
"title": "Economics of Chronic Diseases",
"slug": "economics-of-chronic-diseases",
"subTitle": "",
"\_doc": "5ce793471d775066206b"
}, {
"title": "EU governments weaken tobacco restrictions",
"slug": "eu-governments-weaken-tobacco-restrictions",
"subTitle": "",
"\_doc": "d8a47dad5105d8e4e59e"
}, {
"title": "Dutch Supreme Court decision: all small bars and cafes must be 100% smoke free",
"slug": "dutch-supreme-court-decision-all-small-bars-and-cafes-must-be-100-smoke-free",
"subTitle": "",  
"\_doc": "d93eefdd94dfd5057c1c"
}
\]
