Skip to main content
The index object is where you define the structure of the index. The index defines what kind of data you can add to the index in the properties method.
Index example
The index object must have a fields property with the fields you want to include in the index. Each field object must include type. The type specifies the data type for the index field.

Metadata descriptions

Index

The metadata property on the index is optional. Use it to add a description to the index. The description is exposed by the Enterspeed Query MCP to give AI agents meaningful context about what the index contains.
Index description example

Field

The metadata property on a field is optional. Use it to add a description to the field. The description is exposed by the Enterspeed Query MCP to give AI agents meaningful context about what the field is used for. The max character length of the field description is 50 characters.
Field description example

Types

Setting the right types for the properties in your index is important. The types defines the intend of the fields and prevents data of other types from going into the index. The types also helps with effeciently index, search, and analyze of the data added to the index.

Text

Numeric

Boolean

Date

List

Range

Object