Skip to main content
Mutation

reindexSpace

Schedules a full rebuild of a space's search index. Requires membership of the space. The rebuild runs in the background. Limited to a few rebuilds an hour per space; a refusal is the RATE_LIMITED error.

Arguments

  • spaceIdID!

    ID of the space to reindex.

Returns

ReindexOutput!

Example

mutation ReindexSpace($spaceId: ID!) {
  reindexSpace(spaceId: $spaceId) {
    enqueued
  }
}