Determine the appropriate type of visualization for a natural language query

post/assistedSearches/visualizationType

Determines the most appropriate way to visualize the results for a given natural language query. The response can be included in the request to /assistedSearches.

Request Samples

Response Samples

1{
2 "types": [
3 "report",
4 "person",
5 "vehicle",
6 "address"
7 ],
8 "query": "Show me all vehicles reported stolen in the last month",
9 "visualizationType": "summary"
10}

Request Body

The request to /assistedSearches/VisualizationType when determining the appropriate type of visualization for a natural language query.

NameTypeRequiredDescription
version
integer
false

The representation version (1).

types
array [string]
false

The optional list of type names for the object types to be searched. If missing, all types are searched.

query
string
false

The natural language query that Generative AI will use to determine the visualization type.

Responses

StatusMeaningDescription
200OK

The request succeeded.

Schema
400Bad Request

The request is malformed or contains invalid parameter values.

Schema