Skip to main content
POST
/
{guru_slug}
/
data-sources
/
reindex
Reindex Data Sources
curl --request POST \
  --url https://api.gurubase.io/api/v1/{guru_slug}/data-sources/reindex/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "ids": [
    123
  ]
}
'
{
    "msg": "Data sources reindexed successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.gurubase.ai/llms.txt

Use this file to discover all available pages before exploring further.

Reindex one or more data sources to update their content in your Guru. This is useful when the source content has changed.

Path Parameters

guru_slug
string
required
The slug of the Guru to reindex data sources from

Headers

x-api-key
string
required
Your API key for authentication. You can obtain your API key from the Gurubase dashboard.

Body Parameters

ids
number[]
required
Array of data source IDs to reindex (e.g., [3271, 3272])

Response

msg
string
Status message for the operation
{
    "msg": "Data sources reindexed successfully"
}