What does "compile" mean?

Compilation is the step between ingesting a source and being able to query it. Whatever format the source arrived in, what comes out is queryable by meaning.

It runs asynchronously. A document is stored immediately but is not queryable until compilation finishes, so writes return before the document is usable.

Call it

POST/org/kb/rawOpen in API reference →Ingest text; compilation is queued.
GET/org/kb/nodes/{id}/contentOpen in API reference →The compiled document.