octo conversations: read and export

List, read, search, export and delete agent conversations from the terminal with octo conversations, including filters and JSON output.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

octo conversations reads the conversations your agent has had with customers. Use it to review what customers asked, pull a set of conversations into a script, export data for analysis, or delete the history of one user on request.

Commands

Command What it does
octo conversations list Lists conversations, newest first.
octo conversations get CONVERSATION_ID Shows one conversation.
octo conversations messages CONVERSATION_ID Prints the messages of a conversation.
octo conversations search QUERY Finds conversations that match a text query.
octo conversations export Exports conversations to a file.
octo conversations delete CONVERSATION_ID Deletes one conversation.

All commands take --agent AGENT_ID, or use your defaultAgent setting.

List and filter

octo conversations list --agent agt_123 --status handoff --limit 50
octo conversations list --agent agt_123 --user usr_88
Flag Description
--status open, resolved or handoff.
--user Only conversations of this user id.
--limit, --cursor, --all Control pagination. The default page size is 20.
--json Print the objects as JSON.

Sample output:

ID          CHANNEL   STATUS     MESSAGES   UPDATED
conv_8f2a   widget    resolved   6          2026-03-14T09:30:00Z
conv_91c4   email     handoff    11         2026-03-14T08:12:44Z

Read messages

octo conversations messages conv_8f2a

Each message prints with its role and time. Messages the agent answered from a source also list the source titles.

octo conversations search "refund" --agent agt_123 --status handoff

Search looks at message text. See Conversation search for how matching works and which fields you can filter on.

Export

octo conversations export --agent agt_123 --out ./conversations.json

You should see a line with the number of conversations written and the file path. The export contains the conversation objects and their messages.

Delete

octo conversations delete conv_8f2a --agent agt_123 --yes

Without --yes, the CLI asks you to confirm. Deleting is permanent.

Note: Conversations contain customer data. Keep exported files in a place that follows your own data retention rules.

Something unclear or missing? Tell us and we will fix the page.