kf ingestion

Open, submit, and commit ingestion runs and source authorities.

kf ingestion commit-batch

Apply a staged ingestion batch to inventory truth.

Apply a staged ingestion batch to inventory truth. Writes inventory_levels, movements, and channel_availabilities inside one transaction.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--ingestion-run-id <value>yesIngestion run id.
--ingestion-batch-id <value>yesIngestion batch id.

Example

kf ingestion commit-batch --tenant tnt_demo --actor-type USER --actor-id usr_sam --ingestion-run-id <value> --ingestion-batch-id <value>

kf ingestion start-run

Open an ingestion run so a connector can stream batches against it.

Open an ingestion run so a connector can stream batches against it. Used for snapshot, delta, event, and replay imports from external systems.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--connector-key <value>yesConnector key.
--source-system <value>yesSource system.
--run-type <value>yesRun type.
--observed-from <value>noISO date/time
--observed-to <value>noISO date/time
--checkpoint-ref <value>noCheckpoint ref.
--raw-payload-ref <value>noRaw payload ref.
--summary <value>noSummary.

Example

kf ingestion start-run --tenant tnt_demo --actor-type USER --actor-id usr_sam --connector-key <value> --source-system <value> --run-type <value>

kf ingestion submit-batch

Submit a normalized batch of records to a running ingestion run.

Submit a normalized batch of records to a running ingestion run. Records are staged for commit; no inventory state is mutated yet.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--ingestion-run-id <value>yesIngestion run id.
--batch-ref <value>noBatch ref.
--classification <value>yesClassification.
--records <value>yesRecords.
--summary <value>noSummary.

Example

kf ingestion submit-batch --tenant tnt_demo --actor-type USER --actor-id usr_sam --ingestion-run-id <value> --classification <value> --records <value>
Privacy choices

This controls app-managed marketing analytics: cookie-free Plausible, optional Cloudflare Web Analytics, and first-party event logs with session-only UTM attribution. The site works without it.

Read the privacy notice