---
title: "Fetch metadata for a remote asset URL"
method: GET
path: "/api/assets/remote-metadata"
tags: ["assets"]
---

# Fetch metadata for a remote asset URL

`GET /api/assets/remote-metadata`

[cloud-only] Fetches and returns metadata (content type, size, filename) for a remote URL without downloading the full content.

## Query parameters

- `url` string, uri, required

## Response `200`

Remote metadata

- RemoteAssetMetadata — [cloud-only] Metadata fetched from a remote asset URL.
  - `content_type` string — MIME type of the remote file
  - `content_length` integer — Size in bytes
  - `filename` string — Suggested filename from Content-Disposition or URL

## Other responses

- `400` — Bad request
- `401` — Unauthorized

## Changes

- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/assets/remote-metadata/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/c9640fded659/schema)
