skipped_empty, counted
in files_empty, and left without a searchable table representation.
A file that a later ingestion of the same file took over mid-run is reported as
skipped_superseded and counted in files_superseded. This run did not ingest
it and does not fail because of it. The later ingestion owns the file’s output.
- Python
- TypeScript
- curl
Selection
Pass one of these selectors, or omit both to ingest the whole workspace:
The result separates files that were imported (
files_ingested), already
current (files_skipped), valid but contained no rows (files_empty), taken
over by a later ingestion of the same file (files_superseded), and invalid
(files_failed). Empty Parquet is informational; corrupt Parquet still
appears as a failed per-file outcome.
stale_only=True and reingest_unchanged=True can be combined with
path_prefix. Combining file_ids with path_prefix is invalid_request.
Reconcile
Reconcile compares the storage tree to the file ledger. Detection only:discovered, stale, and orphan rows. auto_ingest=True chains an
ingestion and returns result.ingestion_job_id only when reconcile found files
to discover or mark stale. Otherwise no ingestion starts and
result.ingestion_job_id is None.
IngestionResult.ledger_understanding_job_id is always None. Start a run
with POST /v1/workspaces/{id}/ledger-understanding
(client.workspaces.start_ledger_understanding) when the ledger is in place.
See Ledger understanding.
Errors
file_not_ingested— a tool ran before ingest finishedinvalid_request— bothfile_idsandpath_prefixon one call