| Field | Type | Required | Description | Example |
|---|---|---|---|---|
result |
str | ✔️ | N/A | |
keywords |
List[str] | ➖ | A list of all possible keywords for given result. | |
result_type |
Optional[models.AutocompleteResultResultType] | ➖ | N/A | |
score |
Optional[float] | ➖ | Higher indicates a more confident match. | |
operator_metadata |
Optional[models.OperatorMetadata] | ➖ | N/A | { "name": "Last Updated", "operatorType": "DATE", "scopes": [ { "datasource": "GDRIVE", "docType": "Document" }, { "datasource": "ZENDESK" } ] } |
quicklink |
Optional[models.Quicklink] | ➖ | An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira. | |
document |
Optional[models.Document] | ➖ | N/A | |
url |
Optional[str] | ➖ | N/A | |
structured_result |
Optional[models.StructuredResult] | ➖ | A single object that can support any object in the work graph. Only a single object will be populated. | |
tracking_token |
Optional[str] | ➖ | A token to be passed in /feedback events associated with this autocomplete result. | |
ranges |
List[models.TextRange] | ➖ | Subsections of the result string to which some special formatting should be applied (eg. bold) |