Reference

Command-line reference

Everything in Arcsentry's desktop app except the AI investigator is also a command: build a case, add evidence, query it and record what you conclude. Scripts, pipelines and servers with no desktop all work.

This reference is generated from the same definition the arcsentry --help output is built from, and its examples are run by Arcsentry's own test suite. It covers 22 commands and 143 subcommands.

Every command takes the case it works on as --case <uuid>; there is no hidden current case. Case and evidence UUIDs come from case list and evidence list. Set ARCSENTRY_DATA_DIR to work against a different data directory. The agent is a GUI-only capability and has no CLI surface.

Commands

Global options

OptionDescription
-h, --helpPrint this help and exit. Also available on every command.
-V, --versionPrint the version and exit.

Most commands also take --format to choose between table, JSON, JSON Lines and CSV output.

Environment

VariableDescription
ARCSENTRY_DATA_DIRData directory holding the case registry and settings. Defaults to a folder named arcsentry-<version>, where <version> is what arcsentry --version prints: under %APPDATA% (or ~/AppData/Roaming) on Windows, ~/Library/Application Support on macOS and $XDG_DATA_HOME (or ~/.local/share) on Linux; every Arcsentry version keeps its own.

Exit codes

CodeMeaning
0The command did what it was asked.
1The command failed and Arcsentry did not identify a cause.
2The command line was refused: an unknown command, flag or value.
3The command needs your confirmation and did not get it; nothing was changed.
4case cache-recovery declined the action for this case.
10A file or folder you named does not exist.
11A file or folder you named exists but could not be read.
12The output could not be written where you asked.
13The query, arrow or arrow id was refused before it ran.
14The evidence, records or items the command needs are not available in the case.
15Evidence the command needs is still being analyzed.
16The case overview is still being prepared.
17The case is in use by another Arcsentry program, or Arcsentry could not tell whether it is.
18Arcsentry was busy with other work; run the command again.
19Another query in the case kept this one from starting.
20The command ran out of time before it finished.
21The command was stopped before it finished.
22Search is not available for this case yet.
23The case was made by another Arcsentry release, or its overview does not match its analysis results.
24The case folder could not be read or written.
25This operation is not available on this operating system, or the operating system did not provide what it needs.
26Arcsentry is installed incompletely or with mismatched parts.
28The record of what the last analysis of the evidence covered could not be read.
29The record of what the last analysis of the evidence covered is damaged.
30The analysis the command started or waited for ended in failure.
31The analysis the command started or waited for was paused or cancelled before it finished.
32The analysis is recorded as running, but no Arcsentry program is running it any more.
33The request needed more working memory than Arcsentry has; narrow it and run it again.
34There was not enough free space to finish the command.
35The case archive is damaged.
36The case archive could not be read.
37The case is already present, so it was not added again.
38The case is archived; restore it before using it.
39The case folder holds an item Arcsentry did not expect.
40A newer request replaced this one before it finished.
41The command finished without covering everything it was asked to.
42The position in the listing is out of date; start the listing again.
43The source could not be read.
44The source is damaged.
45The folder you named for a case is, is inside, or holds another case's folder, or holds Arcsentry's own data.
46The file or folder you named holds nothing Arcsentry can add as evidence.
47The case can be opened, so it was not removed from the case list; archive it instead.