Sync Index
beta.indexes.sync(strindex_id, IndexSyncParams**kwargs) -> object
POST/api/v1/indexes/{index_id}/sync
Trigger a sync and export for an existing index, re-parsing changed files and exporting updated chunks.
Sync Index
import os
from llama_cloud import LlamaCloud
client = LlamaCloud(
api_key=os.environ.get("LLAMA_CLOUD_API_KEY"), # This is the default and can be omitted
)
response = client.beta.indexes.sync(
index_id="index_id",
)
print(response){}Returns Examples
{}