What is the metadata field in the API response?
The metadata field is a set of contextual information associated with each autocomplete suggestion, which you can use to further identify the entity suggested. For example, when requesting company autocomplete suggestions, metadata such aswebsite, industry and location can help identify exactly what company a suggestion is referring to.
Note: not all responses will have metadata. It depends on the type of Input Parameters - Autocomplete API that you specified in the input request. Some fields, such as industry and skills, do not contain metadata because there is no other contextual information that can further identify each suggestion beyond the name. For example, there’s not much context that you can provide on the skill JavaScript beyond its name.
You can see a detailed list of the metadata fields associated with each type of input field here.