Skip to main content

Submit a TemsCore document to the indexing pipeline

POST 

/index

Enqueues a 3-stage pipeline (preprocessing → embedding → storing) for the given TemsCore work. Returns immediately with a jobId ; the work runs asynchronously on RQ workers. Poll GET /status/{jobId} to follow each stage.

Concurrency on the same mediaWork.id is serialised by a FIFO ticket lock and the previous pipeline is cancelled on arrival — see the ARCHITECTURE doc § 4 for the protocol.

Request

Responses

Pipeline enqueued.