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

# Sharing and forking

> Share a read-only view of a chat with a link, restrict the audience, set an expiry, and fork a chat from any message.

## Share a chat

Click **Share** in the chat header, or choose **Share chat** from a message's actions. fal Agent creates a share link at `fal.ai/chat/share/<id>`. Viewers see a read-only copy of the chat with its generations.

<Frame>
  <img src="https://mintcdn.com/fal-d8505a2e/DmEWlE6WV9vaz0Me/images/agent/share-dialog.png?fit=max&auto=format&n=DmEWlE6WV9vaz0Me&q=85&s=fb6cb372c6fa8dfd6961b0aca8b70189" alt="The Share chat dialog with the share link, the Base access selector, and the Link expires selector" width="960" height="654" data-path="images/agent/share-dialog.png" />
</Frame>

### Base access

| Option                 | Who can open the link                                     |
| :--------------------- | :-------------------------------------------------------- |
| **Everyone with link** | Anyone                                                    |
| **Team**               | Members of your team, or specific email addresses         |
| **Org**                | Members of your organization, or specific email addresses |
| **Restricted**         | Only the people you list                                  |

### Expiry

Set the link to expire **Never**, **In 1 day**, **In 7 days**, or **In 30 days**. You can revoke a share at any time from the share dialog.

## Fork a chat

Hover a message from the agent to show its actions. Choose **Fork from here**. A new chat starts with the history up to that message. The original chat is unchanged. Use a fork to try a different direction without losing the current thread.

<Frame>
  <img src="https://mintcdn.com/fal-d8505a2e/DmEWlE6WV9vaz0Me/images/agent/fork-from-here.png?fit=max&auto=format&n=DmEWlE6WV9vaz0Me&q=85&s=753f35ba49b293288c0dba4e15267da0" alt="Message actions under an agent reply: copy, thumbs up, thumbs down, Fork from here, and share" width="1208" height="290" data-path="images/agent/fork-from-here.png" />
</Frame>

The same row holds **Copy**, feedback buttons, and **Share chat**.

## Examples

fal publishes a few example chats at `fal.ai/agent/example/<slug>`. They are visible to visitors who are signed out or do not have access yet, and show what a full session looks like.
