assets
Fetch metadata for a remote asset URL
[cloud-only] Fetches and returns metadata (content type, size, filename) for a remote URL without downloading the full content.
get/api/assets/remote-metadata
Query parameters
urlstring uri required
URL to inspect
Response
Remote metadata
Example response
{
"content_length": 4294967296,
"content_type": "application/octet-stream",
"filename": "realistic-vision-v5.safetensors",
"name": "Realistic Vision v5.0",
"tags": [
"models",
"checkpoint"
],
"preview_image": "data:image/jpeg;base64,/9j/4AAQSkZJRg...",
"validation": {
"is_valid": true,
"errors": [
{
"code": "FORMAT_NOT_ALLOWED",
"message": "File format \"PickleTensor\" is not allowed. Allowed formats: [SafeTensor]",
"field": "format"
}
],
"warnings": [
{
"code": "FORMAT_NOT_ALLOWED",
"message": "File format \"PickleTensor\" is not allowed. Allowed formats: [SafeTensor]",
"field": "format"
}
]
}
}