Gravatar for

Question by mhedblom, Aug 9, 2018 12:43 AM

How programmatically trigger an index Rebuild in Coveo Cloud V2

I need to programmatically trigger a Source rebuild on a Sitemap index. I am using Coveo Cloud V2. I've searched the docs and the closest thing I can find is this REST API, but I'm not sure that will work.

POST /organizations/{organizationId}/sources/{sourceId}/status

Any suggestions how I might make the request to rebuild an index?

1 Reply
Gravatar for

Answer by Sébastien Belzile, Aug 9, 2018 10:07 AM


We have a reference doc for the Source API on the developers website. In there, the call that interests you is documented here.

This API documentation is also available via swagger on the `/docs` endpoint of the Coveo platform.

Basically, you need to do a POST to `/organizations/{organizationId}/sources/{sourceId}/rebuild`

Gravatar for

Comment by mhedblom, Aug 9, 2018 4:07 PM

Thank you! I missed that one.

Ask a question