---
schema_version: "1"
id: fd4c4fac7f4ac3a6b9128327b69923b850b69afe2c216dcb881babe9181a8c77
title: ConnectApi.SearchAnswer
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_search_answe.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_search_answe.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4e18ba25a010b03d1bf3d2d1132c675a326892fdb2ec57f99f54f9c5ece00e88
description: Results of searching objects using a natural language query.
---
# ConnectApi.SearchAnswer

Results of searching objects using a natural language query.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| content | String | AI generated response. | 63.0 |
| llmGenerationId | String | LLM generation ID used to track any feedback on the conversation. | 63.0 |
| metadata | [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map collection type.")<String, [ConnectApi.​ObjectMetadata](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_object_metadat.htm "Search metadata related to the object.")\> | All search related metadata associated with the objects found in the results. | 63.0 |
| searchObjects | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​SearchObject](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_search_objec.htm "Record results for the keyword search.")\> | Record results for the natural language search. | 63.0 |

#### See Also

- [answer(q, objectApiName)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_Search_static_methods.htm#apex_ConnectAPI_Search_answer_object_1 "Search an object using a natural language query and return an answer.")
- [answer(q, objectApiName, displayFields)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_Search_static_methods.htm#apex_ConnectAPI_Search_answer_object_2 "Search an object using a natural language query and display fields.")
- [answer(q)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_Search_static_methods.htm#apex_ConnectAPI_Search_answer_objects_1 "Search objects using a natural language query and return an answer.")