Skip to main content
Export the session report to a local directory, with one file per findings category and any available bug recordings. Give the directory to a coding agent to investigate or fix the reported bugs.

Arguments

string
required
The session to export.

Options

string
Directory to write the report and videos to. Defaults to MOMENTIC_ARTIFACTS_DIR/mo-report-<session-id> when that variable is set, or .momentic-artifacts/mo-report-<session-id> otherwise.
boolean
Only export when Mo is idle and all sub-agents are done. Checks once and exits without writing otherwise; it does not wait.

Output

The command prints the output directory. Inside it, report.json is the manifest:
Read every file findings names; newer servers can add categories. artifacts holds each recording download as { bugName, path } or { bugName, error }.

Examples

Export once the session finishes:
List every bug name:

Notes

Exporting does not rerun anything. To compare a recheck, qa send the recheck request, wait for idle, and export again into a second --output directory.