Expand AI logo
DocsDocs
Glow Active
API Reference
Login

Documentation

Get Started

OverviewWhy ExpandQuickstartWays to Use Expand

Agent Quickstarts

OverviewExpand SkillClaude CodeCursorCodexOpenCodeSkill-Based AgentsOther MCP Clients

Fetch

OverviewHow Fetch WorksOutput ModelInclude OptionsBrowser BehaviorHighlightsPlayground & ReplayBatched Fetch

Reference

API ReferenceCLI CommandsMCP Tools & ResourcesTypeScript SDKPython SDK

Account & Billing

Pricing & UsageTiersFAQ

Machine-Readable Docs

start.mdllms.txtllms-full.txtDocs as Markdown
Browse docs

Get Started

OverviewWhy ExpandQuickstartWays to Use Expand

Agent Quickstarts

OverviewExpand SkillClaude CodeCursorCodexOpenCodeSkill-Based AgentsOther MCP Clients

Fetch

OverviewHow Fetch WorksOutput ModelInclude OptionsBrowser BehaviorHighlightsPlayground & ReplayBatched Fetch

Reference

API ReferenceCLI CommandsMCP Tools & ResourcesTypeScript SDKPython SDK

Account & Billing

Pricing & UsageTiersFAQ

Machine-Readable Docs

start.mdllms.txtllms-full.txtDocs as Markdown

Playground & Replay

Inspect what Fetch saw, verify citations, replay the captured page, and embed evidence links into your own product.

Playground and Replay let you inspect what Fetch saw, compare the captured page with the Markdown and State JSON it produced, and share citation links that open the exact evidence behind an answer.

Every Fetch response carries a snapshotId. Open it to replay the captured page, pair the output with the source side by side, and hand auditable evidence links to your users.

The Playground layout

The Playground is two synchronized panes: generated Markdown on the left, the replayed page on the right. Selecting a source block in the Markdown highlights the region it came from in the replay. State JSON citations open the matched structured evidence instead.

Open a Playground

Replay the captured page, then pair it with the Markdown side by side.

Verify Citations

Map a raw snippet location to a link that opens the exact evidence.

Embed Evidence

Return citation links so your users can inspect the source behind a claim.

URL model

Use caseURL
Whole replayhttps://expand.land/s/<snapshotId>
Side-by-side Playgroundhttps://expand.land/s/<snapshotId>/playground
Markdown / Appendix evidencehttps://expand.land/s/<snapshotId>?id=<evidenceId>
State JSON evidence

The snapshotId is the stable handle for replay, Highlights, citation links, and follow-up inspection.

All precise evidence links use the same snapshot-scoped ?id=<evidenceId> contract. Playground may use internal hash state while synchronizing its panes, but that state is not the public citation URL.

Replay vs Playground

Replay

Replay opens the captured page from the snapshot archive. Use it to see the page state Fetch captured.

https://expand.land/s/<snapshotId>

Browser replay is backed by the snapshot's WACZ archive. Adding ?id=<evidenceId> opens an evidence-specific view: depending on the evidence kind, that may render as a source-hunk in replay or open State JSON evidence as JSON instead of browser replay.

Playground

Playground pairs the generated Markdown with the replayed page so you can inspect how output maps back to the source.

https://expand.land/s/<snapshotId>/playground

The left pane shows Markdown (raw or rendered); the right pane shows the replay iframe. Hovering or clicking a source block links it to the matching region in the replay. Public citation links use /s/<snapshotId>?id=<evidenceId>.

Citation links

Citations are not just footnotes. A citation link should let a human inspect the exact captured evidence behind an agent's claim.

Each Highlights snippet can expose a canonical public Evidence ID in location.evidenceId:

Snippet sourceRaw locationCitation target
markdownowning Source Block in location.evidenceId/s/<snapshotId>?id=<evidenceId>
appendixowning Source Block in location.evidenceId/s/<snapshotId>?id=<evidenceId>

How each surface exposes the link:

  • raw API snippets expose location, so you build the URL yourself;
  • CLI text output prints citation links above each snippet;
  • MCP results add a citationUrl field;
  • SDK helpers can build citation URLs from location;
  • if no precise location exists, link to the whole snapshot at /s/<snapshotId>.

A Markdown or Appendix citation:

https://expand.land/s/019...?id=858

A State JSON citation:

https://expand.land/s/019...?id=3

State JSON citation links use the same location.evidenceId contract as Markdown and Appendix. Internal source-object indexes are not public citation targets.

Inspect State JSON

State JSON citations open the structured evidence object that matched the answer, not just the rendered page.

https://expand.land/s/<snapshotId>?id=<evidenceId>

statejson remains the snippet source name. evidenceId is the only public target identity and is accepted by ?id=. Internal State JSON source indexes are not exposed.

Fetch snapshot content

Snapshot links are useful for humans and machines. Browsers get replay; non-HTML clients can request Markdown or JSON evidence.

  • GET /s/<snapshotId> can return full Markdown for non-HTML clients via content negotiation.
  • GET /s/<snapshotId>/content?id=<id> can return source-hunk Markdown or State JSON evidence, depending on the evidence and the Accept header.
  • invalid or missing evidence IDs return not-found behavior.

For the exact content-negotiation contract, see the API Reference.

WACZ archive

Replay is backed by a WACZ archive: the captured page, assets, metadata, Markdown, evidence, and State JSON needed to replay and inspect the snapshot.

https://expand.land/s/<snapshotId>/archive.wacz

The WACZ is public for the snapshot and powers replay loading. It is not the primary integration surface for most users, and its internal format is not owned by this page. Snapshot-land does not publicly serve screenshot or bundle artifacts; screenshots are returned by the Fetch API when you request them through Include Options.

Embed evidence in your product

If you build a deep research agent, return citation links with the answer. Your users should be able to click a claim and inspect the captured source behind it.

A useful citation payload pairs the claim with everything needed to render and open it:

Agent answer
  claim
  citationUrl
  source label
  snippet text
  optional structured JSON value

Rendered as a citation card in your product:

Enterprise includes 50 seats. [View evidence]

Source: pricing page
Evidence: State JSON
Link: https://expand.land/s/019...?id=3

Implementation guidance:

  • store snapshotId with the research result;
  • store snippet source, text, location, and citationUrl when available;
  • for API-only integrations, build links from location or use SDK helpers;
  • for MCP integrations, pass through citationUrl verbatim;
  • for CLI text workflows, preserve the printed citation link;
  • render citation links in your product UI, not only in logs.

This is an example product UI for teams building on Expand, not a promise that Playground renders citation cards or copy/share controls. Recommend linking to Playground first; product teams can then open or embed those links according to their own UX constraints.

Shareability, privacy, and indexing

Snapshot links are designed to be shareable evidence links. Treat them like public links to captured source material.

  • snapshot URLs are public in the snapshot service;
  • snapshot pages use non-indexable and no-referrer page metadata;
  • this is not an auth boundary, and that metadata may not apply as HTTP headers to non-HTML responses such as /content or archive.wacz;
  • the links are still shareable by anyone who has them;
  • avoid fetching sensitive private pages if you do not want public evidence links;
  • do not include secrets, tokens, or private customer data in pages intended for citation sharing.

If auth, TTL, retention, or access controls are added later, this page must be updated.

What to read next

Highlights

Retrieve snippets and scores from a snapshot.

Output Model

Understand snapshotId, location, meta.playground, and field shapes.

Include Options

Request screenshots, response metadata, State JSON, and Appendix.

Browser Behavior

Understand capture timing, scrolling, screenshots, and blocked pages.

PreviousHighlights
NextBatched Fetch

On This Page

The Playground layoutURL modelReplay vs PlaygroundReplayPlaygroundCitation linksInspect State JSONFetch snapshot contentWACZ archiveEmbed evidence in your productShareability, privacy, and indexingWhat to read next
https://expand.land/s/<snapshotId>?id=<evidenceId>
WACZ archivehttps://expand.land/s/<snapshotId>/archive.wacz
statejsonState JSON evidence object in location.evidenceId/s/<snapshotId>?id=<evidenceId>