---
title: "Internal Store Media Url"
method: POST
path: "/v1/internal/store-media-url"
---

# Internal Store Media Url

`POST /v1/internal/store-media-url`

## Request

- Base URL: `https://api.empiriolabs.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.empiriolabs.ai/v1/internal/store-media-url`
- Auth: none declared
- TypeScript: <https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/docs/v1/internal/store-media-url/post.ts> (a function with typed inputs; its response is checked against the schema)

Workers call this to copy provider-hosted generated media into Bunny.

Unlike /store-media, this accepts a source URL and does the download
in the gateway with temp-file buffering, so workers don't need Bunny
credentials or huge response bodies in memory.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway.md) - [All operations](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/revisions/94bb966b0560?raw)
