Skip to main content
Version: 0.0.41

Manage Sessions

Chat sessions hold the conversation history between a user and a custom model. This guide covers creating, inspecting, archiving, and sharing sessions via CLI.

List Sessions​

lhc sessions list

List archived sessions:

lhc sessions list --archived

Get a Session​

lhc sessions get <session-id>

Create a Session​

lhc sessions create --title "Q1 Sales Analysis"

Update a Session​

Rename a session:

lhc sessions update <session-id> --title "Q1 Sales Analysis — Final"

Delete a Session​

lhc sessions delete <session-id>

Archive a Session​

Move a session to the archive without deleting it:

lhc sessions archive <session-id>

Archived sessions are accessible via lhc sessions list --archived.

Clone a Session​

Create a copy of an existing session:

lhc sessions clone <session-id>

Search Sessions​

lhc sessions search "sales"

Statistics​

lhc sessions statistics

Sharing​

Sessions Shared by You​

lhc sessions shared-by-me

Sessions Shared with You​

lhc sessions shared-with-me

Remove All Shares from a Session​

lhc sessions unshare <session-id>

Count Sessions​

lhc sessions count