agent_sessions

list the authenticated user's agent sessions

This endpoint allows the client to list their own agent sessions.

Agent sessions are coding conversation transcripts uploaded from CLI tools like Claude Code. Use the Forem CLI plugin to upload sessions from the command line.

get/api/agent_sessions

Response

successful

idinteger required
slugstring required
titlestring required
tool_namestring required

Tool that produced the session (e.g. claude_code, codex)

total_messagesinteger required
publishedboolean required
created_atstring date-time required
updated_atstring date-time
urlstring url required

Changes