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.
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.
Requirements
Section titled “Requirements”- 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.
Accessing a preview URL
Section titled “Accessing a preview URL”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.
curl "$PREVIEW_URL" \ --header "X-Warp-Preview-Authorization: Bearer ${WARP_API_KEY}"Managing a preview URL
Section titled “Managing a preview URL”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?
| Scope | Who can open it | Who 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.
Expiration and sandbox lifetime
Section titled “Expiration and sandbox lifetime”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.
Deleting a preview
Section titled “Deleting a preview”While deleting a preview removes access to its URL, it doesn’t stop the underlying development server or sandbox.
Controlling preview availability
Section titled “Controlling preview availability”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.
Supported connections
Section titled “Supported connections”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.
Related pages
Section titled “Related pages”- Finding and sharing artifacts - Retrieve saved results rather than a running app
- Runners for Warp Factories - Prepare the app’s execution environment
- Computer Use verification - Ask an agent to exercise the interface and capture evidence