> ## Documentation Index
> Fetch the complete documentation index at: https://kiro.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Export sessions

> Export chat sessions to portable files for sharing, archiving, or reviewing outside Kiro.

## Overview

Save any conversation as a portable zip file for sharing, archiving, or reviewing outside of Kiro. The full thread is preserved: prompts, responses, tool calls, and code blocks.

## Export a chat session

1. Right-click the chat tab you want to export.
2. Select **Export Chat**.
3. Choose a location to save the zip file.
4. Extract the zip to view the exported files.

## What's in the zip

The exported zip contains a directory named for the session ID, with the following files:

- `session.json`: session metadata (agent name, model, timestamps, and other session details)
- `messages.jsonl`: the full conversation as newline-delimited JSON — one message per line (prompts, responses, code blocks, tool calls)
- `sub-executions/*.jsonl`: messages from any sub-agent executions run during the session (present only when the session used sub-agents)

## Use cases

- **Team sharing**: export a session where you solved a complex problem to share the approach with teammates
- **Documentation**: capture a session that explains architecture decisions
- **Debugging**: export a session for review when investigating unexpected agent behavior
- **Archiving**: save important sessions before clearing history

Exports are read-only. You cannot import an exported session back into Kiro.
