ReferenceAsk
Remy Reference/agent/dataSources.job
?

dataSources.job

Fetches one ingestion job by id.
DataSource.job(id) DataSourceJob

Reads a single job by id, for polling one you started with sync until it reaches a terminal state.

Parameters
id
string
RequiredJob id.
Poll a job
let job = await Docs.job(id);
while (job.state === 'running') { await sleep(2000); job = await Docs.job(id); }