Get Index Suggestions
Get index suggestions based on filter usage patterns.
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Query Parameters
Time window in hours to analyze (max 30 days)
1 <= x <= 720Minimum query count threshold for suggestions
1 <= x <= 10000Response
Successful Response
Response containing index suggestions for a namespace.
Namespace being analyzed
Time period analyzed (e.g., '24h', '7d')
List of index suggestions
Whether auto-indexing is enabled for this namespace
Next scheduled auto-creation run (if enabled)

