Schedules the processing of uploaded documents
Schedules the immediate processing of documents uploaded through the indexing API. By default the uploaded documents will be processed asynchronously but this API can be used to schedule processing of all documents on demand.
If a datasource
parameter is specified, processing is limited to that custom datasource. Without it, processing applies to all documents across all custom datasources.
Rate Limits
This endpoint is rate-limited to one usage every 3 hours. Exceeding this limit results in a 429 response code. Here’s how the rate limit works:
- Calling
/processalldocuments
for datasourcefoo
prevents another call forfoo
for 3 hours. - Calling
/processalldocuments
for datasourcefoo
doesn’t affect immediate calls forbar
. - Calling
/processalldocuments
for all datasources prevents any datasource calls for 3 hours. - Calling
/processalldocuments
for datasourcefoo
doesn’t affect immediate calls for all datasources.
For more frequent document processing, contact Glean support.
Was this page helpful?