---
title: "Fetch Url Into Workspace"
method: POST
path: "/api/workspace/fetch-url"
tags: ["runtime_mutations", "files"]
---

# Fetch Url Into Workspace

`POST /api/workspace/fetch-url`

Fetch a URL and save what it returns into the workspace.

A source reached this way has to land as a workspace file like any other,
because a claim captured from it is re-verified against the path it names.
Name conflicts are auto-renamed unless ``overwrite`` is set.

## Request body

- FetchUrlRequest
  - `url` string, required
  - `dest_dir` string
  - `overwrite` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/workspace/fetch-url/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/d61e2ec5a271?raw)
