Factories > Management & observability
Finding and sharing artifacts
Find plans, screenshots, recordings, and uploaded files from Warp Factories, and choose how to retrieve or share each result.
Artifacts let you return to a plan, inspect visual evidence, or download a report produced by Warp Factories. They also belong to standalone cloud agent runs outside a factory. For example, ask an agent to upload a dependency report so you can retrieve it after the run ends.
Artifacts and linked outputs
Section titled “Artifacts and linked outputs”A run is one agent execution. Its conversation contains the messages, actions, and reported results. A factory work item can involve several runs and workers, so its results aren’t limited to the foreman’s conversation.
| Result | What to open or retrieve | Sharing consideration |
|---|---|---|
| Plan | The plan link, or plan content through the API | Check the plan’s sharing permissions separately from media permissions |
| Screenshot | A media-page link or downloadable image | Private links require access; public media is accessible to anyone with the URL |
| Video recording | A media-page link or downloadable video file | Computer Use capture-sharing policy doesn’t apply to every uploaded video |
| Uploaded report or other file | File metadata and downloadable content | Don’t treat a download URL as a public publishing control |
| Pull request | The code host’s URL | The code host controls access |
| Issue or other external reference | The destination system’s URL | Reporting the link doesn’t copy its contents into Warp or grant access |
A file left on a worker’s filesystem isn’t automatically a saved artifact. Ask the agent to upload the file and return it as a result. Keep code changes in a repository and pull request rather than relying on a sandbox file.
Finding artifacts
Section titled “Finding artifacts”Start from the work item or run whose result you need. Use the factory dashboard to inspect its runs and conversations. For standalone runs, follow cloud agent session sharing.
If a result is missing, inspect the producing worker’s conversation. Confirm that the agent uploaded or reported the result, rather than only mentioning a local path. For programmatic discovery, use the run’s artifact entries.
Requesting a saved result
Section titled “Requesting a saved result”Request an uploaded report
Section titled “Request an uploaded report”Send this prompt to an agent with file-upload capability:
Create
dependency-audit.csvusing only this sample data: packageweb-ui, version1.2.0, statusreview; packagecsv-export, version2.0.1, statusok. Use the columnspackage,version,status. Upload the CSV as an artifact and return its reference. Don’t use real dependency or customer data.
Retrieve the uploaded report and compare the header and both rows with the sample data. A response containing only the sandbox path isn’t a saved result.
Request a plan without implementation
Section titled “Request a plan without implementation”Create a plan for adding CSV export to a demo application’s results table. Include implementation steps and validation criteria. Return a plan link for review. Don’t implement the plan or change code.
Open the returned plan and review the proposed work before asking the agent to implement it. See Agent planning and execution for editing, version history, and Markdown export.
Sharing an artifact
Section titled “Sharing an artifact”Choose the reference for the recipient and task:
- Plan link - Use the plan’s sharing controls. Export Markdown when you need a version checked into a repository. See saving and sharing plans.
- Private media link - Ask the capturing agent to return links to selected screenshots or recordings. Warp checks the viewer’s access when the link opens. Copying a link doesn’t grant access.
- Public media embed - Use only for content you intend to publish. Requesting permitted embed URLs makes the media accessible to anyone with the URL. Media attachment modes own the team policy and controls.
- Uploaded file - Retrieve its content through the API or the supported legacy artifact CLI. Don’t assume the media-embed workflow publishes arbitrary files.
- External link - Share the pull request, issue, or other destination URL. The recipient still needs access in that system.
For example, with Computer Use available, ask:
In the demo application, record the CSV export flow and capture the completed export state. Use only non-sensitive sample data. Return access-checked links in this conversation. Don’t publish public embeds or post to another system.
Open the links to check that they show the requested flow and state. For PR attachments, follow Screenshots and videos in pull requests rather than manually publishing media. Captures from child agents belong to those child runs; ask the capturing agent for its links.
Retrieving an artifact with the API
Section titled “Retrieving an artifact with the API”Use the Warp Platform API to retrieve a selected result without scraping conversation text. You need a run you can access, a Warp API key, curl, and jq. Configure the key as WARP_API_KEY using the linked authentication instructions.
-
In your terminal, fetch the known run. Replace
RUN_IDwith that run’s identifier:Terminal window RUN_ID=RUN_IDcurl --fail --silent --show-error \-H "Authorization: Bearer $WARP_API_KEY" \"https://app.warp.dev/api/v1/agent/runs/$RUN_ID" \--output run.json -
List uploaded files by UID, name, and MIME type:
Terminal window jq -r '(.artifacts // [])[]| select(.artifact_type == "FILE")| select(.data.artifact_uid != null and .data.artifact_uid != "")| [.data.artifact_uid, .data.filename, .data.mime_type]| @tsv' run.jsonSelect the row for
dependency-audit.csv, not the first artifact. No rows means the response contains no matching file entries; check the run and producing worker before continuing. If an entry lacksdata.artifact_uid, don’t substitute its document or notebook UID.The run response uses
PLAN,PULL_REQUEST,SCREENSHOT,FILE, andEXTERNAL_REFERENCE. Recordings useFILEwith a video MIME type, not a separate video artifact type. For a pull request or external reference, follow the destination URL indata.urlinstead of passing it to artifact download. -
Fetch metadata for the selected artifact. Replace
ARTIFACT_UIDwith itsdata.artifact_uid:Terminal window ARTIFACT_UID=ARTIFACT_UIDcurl --fail --silent --show-error \-H "Authorization: Bearer $WARP_API_KEY" \"https://app.warp.dev/api/v1/agent/artifacts/$ARTIFACT_UID" \--output artifact.jsonFor
FILEandSCREENSHOT, the response containsdata.download_url,data.expires_at, anddata.content_type. ForPLAN, it returns content inline rather than a downloadable file. The API reference defines the response fields and errors. -
For the selected report, follow the download redirect and save the CSV:
Terminal window curl --fail --silent --show-error --location \-H "Authorization: Bearer $WARP_API_KEY" \"https://app.warp.dev/api/v1/agent/artifacts/$ARTIFACT_UID/download" \--output dependency-audit.csvCheck the downloaded rows against the report request. The endpoint redirects to a temporary signed URL. Keep the artifact UID as the durable reference and request a fresh URL when needed. Don’t store signed URLs as permanent share links or print them in logs.
Private retrieval requires authentication and authorization. An existing public artifact can be retrieved without authentication, but the retrieval endpoints don’t make an artifact public. A 401 means authentication is required; a 403 means the caller lacks access. A 404 can mean a missing artifact or unsupported type.
Related pages
Section titled “Related pages”- Factory dashboard - Inspect the runs behind a work item
- Agent planning and execution - Edit and export plans
- Screenshots and videos in pull requests - Choose media attachment policy
- Artifacts CLI reference - Retrieve files through the legacy CLI
- Warp Platform API reference