amika sessions, and the SDK can list sessions and read their transcripts.
Prerequisites
A rig in the
active / running / started state. See
Create a rig.CLI: pick or start a session at agent-send time
To control which session a prompt runs in, use the flags onagent-send.
CLI: list and read sessions
amika sessions list lists your organization’s agent chats.
amika sessions show prints one chat and every message in it.
-o json to either command for machine-readable output. See
amika sessions for details.
SDK: list, read, and continue sessions
Sessions are created when you send a prompt. There is no separate create or update call.List sessions
rigRef to list sessions across all
your rigs. limit defaults to 50 on the server. total can be larger than
sessions.length, so keep it when showing a partial list.
Read a transcript
Continue a session
A fetched session hassend, sendStream, and refresh methods bound to it.
sessionId:
End-to-end example
Session shape
agentSessions.get() adds messages, the full transcript. See
Types.
Earlier SDK versions had
createSession, listSessions,
getLatestSession, getSession, and updateSession. Those methods have
been removed. Use client.agentSessions instead.