Version: latest
agrag.evidence.source_status.source_status
source_status(store:GraphStore, document_key:str) -> SourceStatus
Return committed version, job and index state for one document key.
An expired incomplete job is reported as failed. An active job is reported as pending, while deleted and unknown keys remain distinct.
Parameters:
- store (
GraphStore) – The graph store to read. - document_key (
str) – Stable key of the source.
Returns:
SourceStatus– Source state with the current activation, job lease and index status.