- Type:
list<string> - Default:
["*"](all fields) - Scope:
settings,search
responseFields parameter controls which fields are included in the search response.
By default, Algolia includes all fields.
Use this setting to reduce the size of the response.
Usage
- To reduce the size of individual records in the response,
use
attributesToRetrieve. - If
responseFieldsis an empty list, the response may return an empty response, except fields that are always included. - If you include unknown field names, the API returns an error.
Before using this parameter, check the impact on your search experience.
For example, if you omit the
hits field, the response won’t include results.
The UI may also depend on other fields, for example, for pagination.Fields you can exclude
aroundLatLngautomaticRadiusexhaustivefacets_statsfacetshitsPerPagehitsindexlengthnbHitsnbPagesoffsetpageparamsprocessingTimeMSqueryAfterRemovalqueryserverTimeMSuserData
Fields you cannot exclude
abTestVariantIDcursormessagewarning- Fields added by
getRankingInfo
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients