Artifacts: share chats and pages
Sessions are private. To show one to someone, share it as an artifact: a read-only snapshot with its own link. You choose who can open it: your whole organization, chosen teams, chosen members, named people outside your organization, or anyone with the link. Your organization's settings decide which of these you may use. Pages, standalone HTML, Markdown or React files, are shared the same way. A page share can also let members of your organization edit the page with you.
What an artifact holds
A shared chat is a copy of the session at the moment you share it: the messages and their images, the model that wrote each answer, the mode, the title, who shared it and what the answers cost. Messages you send afterwards are not included, and the artifact stays as it was if you rename, change or delete the session.
- Sharing again makes a new version (v2, v3…) with its own link. Older versions keep working until you revoke them.
- Revoking a version stops it opening for its readers. Owners and admins can also revoke an artifact they can read.
- If you let readers continue, a reader can carry the conversation on in a private copy: a new session of their own, starting from the artifact's messages and paid for by their own organization.
- A shared chat and its images are kept as long as your organization keeps chat messages, counted from the moment it was shared.
- The audit log records sharing, revoking, continuing, access changes, access requests and reports, never the content. For people outside, it records email domains, not addresses.
Every shared chat and every one of your sessions downloads as Markdown: YAML front matter (title, link, organization,
author, date, models, mode, visibility, audience, version), the conversation with code, tables and math as written,
its sources, and the cost of each answer and in total. Images are noted, not included;
nexus artifacts images saves them.
Who can open it
Inside your organization, an artifact opens for its audience: everyone, chosen teams (with the teams under them) or chosen members. You can always open your own, and owners and admins can open everything shared outside the organization. Anyone else gets a 404, as for an artifact that does not exist.
Named people outside open the link signed in to Nexus with the email address you shared it with, once that address is verified. Nexus does not email them, so send them the link yourself. Anyone else who signs in and opens the link can ask you for access, with an optional note. You, an owner or an admin approve or deny the request, or remove someone later. Nexus tells you of new requests in your Inbox in Nexus UI, with one item a day. The person who asked gets an Inbox item when you answer.
Anyone with a public link opens it without signing in. Search engines are asked not to list it, and readers can report it as spam, phishing, malware, illegal content or something else. Once it expires or is revoked, the link says it doesn't work. Nexus UI caches a public link's page and drops it when the link is revoked; if that signal fails, the old page can show for up to an hour.
Readers outside see the author's name and your organization's name, never the cost, the author's email or team names. They see the images, and can download the chat as Markdown without the cost. If they continue it, the copy is made in their personal organization, which Nexus makes for them if they have none. Your organization never pays for it.
Your organization's limits
Owners and admins set these in Settings › Data, under Sharing outside, with
nexus org settings set <key> <value>, or with PUT /v1/orgs/settings.
Everyone in the organization can read them, and every change is in the audit log. They apply to new shares: a link
already shared keeps working until it is revoked, unless a page setting below says otherwise.
artifacts.externalispublicby default: members may share with named people and with anyone with the link.namedallows named people only, andoffkeeps every artifact inside.artifacts.external.whoiseveryoneby default.adminslets only owners and admins share outside.artifacts.external.domainslists the email domains named people may have, as{"allow": [], "deny": []}. A domain includes its subdomains, deny wins over allow, and an empty allow list allows any domain.artifacts.external.expirylimits public links, as{"maxDays": null, "required": false}. WithmaxDays, no public link stays open longer, and one shared without an expiry gets that maximum. Withrequired, every public link needs an expiry.artifacts.external.continueis on by default. When it is off, readers outside cannot continue your chats.artifacts.pagesis on by default. When it is off, nobody can write or share pages, and no page shows in its frame. People can still list, delete and read the source of their own.artifacts.pages.publicis off by default in a company organization and on in a personal one. When it is off, nobody can share a page by public link, and public page links already shared stop opening.
Settings › Data shows all eight settings. An organization can create at most 20 public links an hour.
Pages
A page is a standalone HTML or Markdown file, or one React component in a .jsx or .tsx file. You publish one with
nexus pages publish or POST /v1/pages. Each later write makes a new version, and versions never change. Restoring
an old version writes it again as the newest. A write that names the version it was built on (--base) is refused if
someone wrote a newer one since.
- A version holds at most 16 MiB. A page keeps at most 500 versions, and you can create at most 200 pages a day in an organization.
- Gateway refuses a page with a password field, a form that submits somewhere, a meta refresh, an iframe, an object or
embed tag, or
evalof decoded text, and says which. - A page is yours until you share it. Nobody else can list or open it, owners and admins included.
- Deleting a page deletes every version, its comments and its stored data, and revokes its shares.
Chat writes pages too. Ask it for a page, a site, an app or a dashboard, and it writes one with its write_page tool.
In a session that has a page, ask for a change, and chat writes the next version. For a small change it uses
edit_page, which replaces only the parts that change. Chat offers these tools when your message asks for a page, and
on every later message in a session that has a page. A question such as "how do I build a website?" gets an ordinary
answer. When a page uses something the sandbox blocks, chat is told and writes a fixed version in the same turn.
Coding agents write pages with the CLI. nexus claude and nexus codex tell the agent to publish a page with
nexus pages publish and to change it with nexus pages update. For Claude Code, they also turn off Claude's own
artifacts, so its pages stay in your organization.
Sharing a page works like sharing a chat, with the same audiences and limits, plus artifacts.pages.public for public
links. A share shows the latest version, so readers follow along as it changes, or pins one version. It holds no copy
of the page, so it lasts as long as the page does, whatever your chat retention. A share with your organization, teams
or members can also let them edit the page: see Editing together.
Nobody can continue a shared page or download it as Markdown. A signed-in reader can remix it instead. Remix copies the version on screen into a new page of the reader's own, as version 1, and opens a new chat that holds it. The original page does not change.
A page never runs on Nexus's own domains. Gateway checks that the reader may open it, then gives Nexus UI a link that
works for five minutes on nexususercontent.dev, where each page has its own host and no Nexus cookie exists. Nexus
UI shows it in a sandboxed frame. An HTML page there may load scripts from cdnjs.cloudflare.com, cdn.jsdelivr.net,
unpkg.com, cdn.tailwindcss.com and code.jquery.com and fonts from Google Fonts, and may fetch only from its own host.
It cannot load images from other sites, submit forms, open windows, navigate away or download files. Markdown pages
run no scripts. A React page may use Tailwind classes. It may import only react, react-dom, recharts, lucide-react,
d3, three, lodash, papaparse, mathjs and chart.js. An HTML or React page that marks its screens as artboards opens as
a design canvas that you zoom and pan. Readers outside your organization see "Content is user-generated and
unverified." in place of the author.
Revoking a page share stops new links at once. A page that is already open stays open, and a link given out just before the revoke keeps loading until its five minutes run out.
What a page can call
An HTML page in Nexus UI or the desktop app can use window.nexus, a bridge to the window around it. The page holds no
token or cookie. Nexus UI makes each call with the reader's own session.
window.nexus.complete(prompt), orcomplete({ messages, maxTokens }), asks the model and returns the answer's text. Nexus picks the model. The reader pays, and the reader's policies and budgets apply. The first call asks the reader to allow calls from that page, and the browser keeps the answer. A call takes at most 50 messages and 50,000 characters; a prompt string is one message. Its answer has at most 4,096 tokens, and 1,024 by default.window.nexus.storagekeeps text values by key, withget,set,deleteandlist. Each page has its own storage, which no other page reads. A value belongs to the reader by default, and nobody else can read it. Pass{ shared: true }last for a value that every reader sees and can change. Before a page's first shared write, Nexus UI asks the reader to allow it. A value holds at most 5 MiB, and a page keeps at most 20 MiB in all.window.fs.readFile(name)reads a data file attached in the chat that wrote the page: CSV, TSV, JSON, text, Markdown or XLSX. The page keeps read-only copies of the files its source names, at most 20 files and 50 MiB a version. A remix copies none.
A page opened from a public link cannot call the model, keep data or read files. Markdown pages run no scripts, so they have no bridge.
Comments
Anyone who may open a page can comment on it when signed in: its owner, and the readers of its active shares. A public link alone is not enough.
- A thread quotes a passage of one version. Paste or type the passage, or select it in Code and choose Quote selection. Readers reply in the thread.
- The author of a thread or the page's owner can resolve and reopen it. The author of a comment or the owner can delete it. Deleting a thread's first comment deletes its replies, other readers' replies included.
- A reader of a pinned share sees only the threads on that share's version. Readers outside your organization do not see who wrote the other comments.
- The owner can choose Ask Nexus on a thread. It opens a new chat that holds the page and sends it the comment. The chat writes the next version, and the thread links to the chat. You pay for that chat as for any other.
- A page holds at most 1,000 comments, and a comment at most 4,000 characters.
Editing together
The owner edits a page in Nexus UI under Edit: the page's source, with a live preview below it. A share with Can edit lets others edit it too. Can edit works for your organization, chosen teams or chosen members, never for people outside or a public link. An edit share always follows the latest version.
- Everyone who edits works on one shared draft. Edits merge as people type, and each editor's cursor shows their name.
- Choose Save, or stop typing for 5 seconds, and the draft becomes the next version.
- Editors cannot delete, share or restore the page. Their chat can write it, as the owner's can.
- A version written another way, by chat, a restore or the CLI, replaces the draft for everyone. Edits not yet saved are lost.
- Revoking the share, or sharing again with Can view, stops an editor at once.
Everyone with the page open sees a new version within about a second, unless their share is pinned to a version.
In Nexus UI
In a session, choose Share in its header. The menu shows four choices: Only you, Anyone in your organization, Anyone with the link, and Specific people. Specific people shares with chosen teams, chosen members or people outside by email. Picking a choice applies it at once and revokes the earlier versions, so one audience stays open. A choice your organization's settings forbid stays visible as Blocked by policy, with the reason. Share latest makes a new version for the same audience and keeps the older ones. Under More options you can let readers continue, set when a public link expires, and revoke any version. For a share outside, the menu also shows how often it was opened, by whom, who asked for access and how many reports it has, with Approve, Deny and Remove.
Shared sessions are marked in the sidebar and on the Sessions page. Artifacts, in the sidebar, has four tabs: All, My drafts (your pages), Shared with me (from other organizations too) and Shared by me. A shared chat opens read-only, with Continue in a new chat (when allowed), Copy as Markdown and Download .md. Owners and admins also get Shared outside: everything the organization shared outside it, with opens, readers, requests, reports and expiry, filters, and revoking in bulk.
Your pages are under My drafts in Artifacts, and pages shared with you are under Shared with me. Your page opens with a version picker, Preview, Code and Edit, Copy and Download of its source, Comments and Share. The page's share menu has the same four choices and Always show the latest version; untick it to pin the version on screen. For your organization, teams or members, it also asks whether they Can view or Can edit. A page shared with you has Remix, Comments, and Edit when you may edit it. While a page shows its latest version, new versions appear as they are written.
The phone app lists your pages and the pages shared with you, and opens them. Share or delete a page in Nexus UI or with the CLI.
People outside your organization open a link on a plain page of its own. A public link has Report this page. A link shared with named people asks them to sign in, and anyone else to ask for access. When the author allows it, Continue in Nexus copies the chat into a private session of the reader's own after they sign in, with any question they typed in its chat box.
From the CLI
nexus chat share <session> --team web --allow-continue # or --org, or --people ada@acme.com,lin@acme.com
nexus chat share <session> --to ada@partner.com # named people outside, by email
nexus chat share <session> --public --expires 30d # anyone with the link; --replace revokes older versions
nexus chat share <session> --private # only you again: every version revoked
nexus agents share latest --org # this folder's newest Claude Code session (nexus claude)
nexus agents share <session> --private # stop sharing it: every version revoked
nexus artifacts list # shared with you and by you; --external: everything outside
nexus artifacts access <id> --grant lin@partner.com # who has it and who asked; or --deny, --remove
nexus artifacts request <id> # ask for access to an artifact shared outside
nexus artifacts continue <id> # a new private session from it
nexus artifacts export <id> --md --out answer.md
nexus artifacts revoke <id> # owners and admins can name several at once
nexus pages publish report.html # then update, versions, restore or delete it
nexus pages share <page> --public --pin 2 # or --org, --team, --people, --tonexus agents share shares a Claude Code session that ran on your machine. It reads the session's transcript from
~/.claude/projects. Give the session's id, or latest for the newest one in the current folder. It takes the same
audiences as nexus chat share. Sharing it again makes a new version and revokes the earlier ones. The share holds
the prompts, the answers, the tool calls with their results, your approvals, images and the cost. It leaves out the
agent's thinking unless you add --include-thinking, and it leaves out sub-agents. Long tool results are cut short
so the session fits in 4 MB. Readers cannot continue a coding session. Common key and token formats are hidden, and
your home folder's name becomes ~. Other secrets in tool output, and anything in an image, are not, so check the
session before you share it.
Every command takes --json. See the CLI reference.
Through the API
# Share a session with anyone with the link for 30 days, revoking its earlier versions
curl -X POST "$NEXUS_URL/v1/chat/sessions/<id>/share" \
-H "Authorization: Bearer $NEXUS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"audience": "public", "expiresIn": "30d", "replace": true}'
# Share a page's version 1 with a person outside your organization
curl -X POST "$NEXUS_URL/v1/pages/<page id>/share" \
-H "Authorization: Bearer $NEXUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audience": "external", "people": ["ada@partner.com"], "version": 1}'
# Let the web team edit a page with you
curl -X POST "$NEXUS_URL/v1/pages/<page id>/share" \
-H "Authorization: Bearer $NEXUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audience": "teams", "teams": ["web"], "role": "edit"}'audience is org, teams, people, external (people outside, by email, in people) or public. role is
view by default, or edit for org, teams and people. Someone outside an artifact's audience gets a 404. A
signed-in person outside a share with named people gets 403 artifact_access_required and may ask for access. Every
endpoint is in the API reference, under Artifacts and Pages: comments, the
shared draft, storage, the event stream and remix are under Pages.
Not built yet
- Nexus does not review reports. A report goes to your organization's owners and admins, who can revoke the link in Shared outside.
- Nexus does not tell the people you share with or email you when someone asks for access. Requests show in the share menu and in Shared outside. Send a shared link to its reader yourself.
- Teams cannot narrow the organization's settings.
- A share outside always includes the chat's images; there is no switch to leave them out.
- The CLI cannot comment, remix or share a page with Can edit. Use Nexus UI or the API.
- You cannot select text inside a page to comment on it. Paste the passage, or select it in Code.