Request body for UploadFromUrl.
{}{ "url": "https://assets.bytescale.com/example.jpg"}Arbitrary JSON to store against the file as metadata.
You can retrieve this later via a GetFileDetails request.
Type: FileMetadata
The file's MIME type.
If unset, the MIME type of the url will be used.
Example: "text/plain"
Type: String
Min Length: 3
Max Length: 255
The file's original name on the user's device.
If unset, the content disposition of the url will be used, if any.
Example: "example.txt"
Type: String
Min Length: 1
Max Length: 255
The path to upload the file to.
Type: FilePathDefinition
The file tags to store against the file.
When you associate file tags with a file, Bytescale checks which rules match the tags (if any) and applies those rules to the upload request:
Rules can include max file size checks, traffic limit checks, rate limit checks, and so forth. These are configured in the Bytescale Dashboard.
Example: ["example_tag"]
Type: String[]
The maximum time (in milliseconds) the entire operation is allowed to run before being aborted.
The default value is 30000 (30 seconds).
Example: 5000
Type: Integer
Maximum: 30000
Source URL to upload.
Example: "https://assets.bytescale.com/example.jpg"
Type: String
Min Length: 1
Max Length: 8192
This website uses cookies. By continuing you are consenting to the use of cookies per our Cookie Policy. Our legal policies were last updated February 3 2026.
This website requires a modern web browser -- the latest versions of these browsers are supported: