Skip to main content
The userData object lets you store custom data in your index settings.

Usage

  • The object must be serializable as JSON.
  • You can store up to 32 kB. Larger objects may break your search.
  • To access previously stored userData, use the getSettings method.

Example

Current API clients

Last modified on May 19, 2026