Skip to content

Factories > Management & observability

Previewing URLs

View your factory's changes in your browser with preview URLs, share them with your team, and manage their expiration.

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Preview URLs let you access servers running in a sandbox, allowing you to preview UI changes, test endpoints and share changes with teammates before deploying. Preview URLs are not production deployments and stop working when a sandbox shuts down.

  • A factory run on a Warp-hosted Namespace sandbox.
  • The app’s dependencies, startup instructions, and any required services or test data available in the sandbox. Configure these through runners and factory repositories and setup.
  • Preview URLs enabled for both the owning workspace and team. Administrators can change this policy.

After asking your factory to create a preview URL for your changes, use either of these access methods:

  • Browser access: Open the returned preview URL and sign in to Warp if needed.
  • Programmatic access: Use your Warp API key.
Terminal window
curl "$PREVIEW_URL" \
--header "X-Warp-Preview-Authorization: Bearer ${WARP_API_KEY}"

In the Warp Factories web app, open the producing run’s conversation and its Artifacts tab. Under Preview URLs, open the labeled preview or copy its link. Using the action menu, you can delete the preview or change its label, scope, and expiration time.

You can also ask the agent to manage the preview URL’s settings directly:

Can you rename the preview URL to “Updated Dashboard” and change its scope from private to team?

ScopeWho can open itWho can edit or delete it
PRIVATE• Run creator
• Admins of the owning team or workspace
• Run creator
• Admins of the owning team or workspace
TEAM• Run creator
• Admins of the owning team or workspace
• Members of the owning team
• Run creator
• Admins of the owning team or workspace

Preview URLs use private scope by default for runs created by a person. Runs created by service accounts require team scope and cannot use private scope.

A preview’s lifetime is capped by the sandbox’s remaining lifetime. A preview stops working when it expires, is deleted, or its sandbox shuts down. Extending a preview doesn’t extend the sandbox’s lifetime.

While deleting a preview removes access to its URL, it doesn’t stop the underlying development server or sandbox.

Workspace administrators control preview availability for the workspace and its teams. In the Admin Panel, select the workspace or team, then open Platform. In the “Preview URLs” section, toggle Enable preview URLs.

Disabling previews permanently deletes active preview URLs in that scope. Enabling previews at the team level doesn’t override a workspace-level disable.

Preview URLs support the following over HTTP/1.1:

  • Hot module replacement (HMR)
  • Regular HTTP requests
  • WebSockets
  • Server-sent events (SSE)
  • Streaming HTTP responses
  • File uploads
  • File downloads
  • Long-running requests
  • Cookie-authenticated requests
  • Redirects

Cross-origin requests aren’t supported. Browser login lets you interact with the app from its own preview page, but doesn’t let other websites use your login to interact with it.