.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH am-sessions 1 "sessions " .SH NAME sessions \- List the sessions of every agent (and of the interactive shell) .SH SYNOPSIS \fBsessions\fR [\fB\-\-project\fR] [\fB\-\-status\fR] [\fB\-\-show\fR] [\fB\-\-resume\fR] [\fB\-\-export\fR] [\fB\-\-output\fR] [\fB\-\-retention\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIAGENT\fR] .SH DESCRIPTION List the sessions of every agent (and of the interactive shell) .SH OPTIONS .TP \fB\-\-project\fR \fI\fR Only sessions of this project .TP \fB\-\-status\fR \fI\fR Only sessions with this status (running, stopped, failed, interrupted) .TP \fB\-\-show\fR \fI\fR Show one session in detail (summary + log excerpt) .TP \fB\-\-resume\fR \fI\fR Resume a finished session: relaunch the agent with its recorded arguments .TP \fB\-\-export\fR \fI\fR Export one session (metadata, commands, log excerpt) to a JSON file .TP \fB\-\-output\fR \fI\fR Destination of the export (default: ./am\-session\-.json) .TP \fB\-\-retention\fR \fI\fR Purge sessions finished more than N days ago (settings default 90) .TP \fB\-h\fR, \fB\-\-help\fR Print help .TP [\fIAGENT\fR] Only sessions of this agent