Why is my document not queryable yet?
Creating or updating a document returns as soon as the text is stored. It is not searchable until compilation completes.
Poll the document until its processing status reads complete. The states are pending, processing, complete and failed. On failure an error code says why.
bash
curl https://apiv2.senso.ai/api/v1/org/kb/sync-status \
-H "X-API-Key: $SENSO_API_KEY"Call it
