Generate a pre-signed URL for direct file upload
This endpoint generates a pre-signed URL that allows you to upload files directly to cloud storage.Documentation Index
Fetch the complete documentation index at: https://api-tools.memories.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Required | Description |
|---|---|---|---|
| original_filename | string | Yes | The original filename with extension (e.g., “video.mp4”) |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | object | Response data object containing the signed URL and asset information |
| data.asset_id | string | Unique identifier of the asset that will be created after upload |
| data.signed_url | string | Pre-signed URL for direct file upload to cloud storage |
| data.expires_in | integer | Validity period of the signed URL in seconds |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
expires_in (in seconds)expires_in value indicates how long the signed URL remains valid from the time it was generatedThe original filename with extension
"video.mp4"
Signed URL generated successfully
Response code indicating the result status
200
Response message describing the operation result
"success"
Response data object containing the signed URL and asset information
Indicates whether the operation was successful
true
Indicates whether the operation failed
false