Gå til hovedinnhold

kapi tm audit

kapi audit

Show every TM entry written (or updated) by a specific kapi merge batch, so you can see what a particular return from a translator contributed to the project TM.

Origin provenance is stamped by kapi merge (source="merge", reference=<batch-id>, key=<source-rel>). Audit iterates the project TM, surfaces only TUs with at least one matching Origin, and prints source file, block hash, timestamp, and the originating XLIFF filename.

Examples:

kapi tm audit --batch <batch-id> # full listing kapi tm audit --batch <batch-id> --limit 50 # cap rows

Use "kapi tm stats" for global TM metrics (entry counts, per-locale breakdown). Audit is narrow by design — it answers "what did this merge do?".

Commandtm audit
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi tm audit
Flags
FlagTypeDefaultDescription
--batchstringkapi merge batch id to audit (required)
--filestringexplicit path to resource file
--limitint0maximum rows to print (0 = all)
--localboolfalseuse resource in current directory
--namestringnamed resource in KAPI_HOME (e.g. --name project-terms)

← Back to the Command Reference