uploads
List your uploaded files
Lists the files you have uploaded, each identified by its opaque file_id, with size and expiration metadata plus a freshly-signed readable asset_url.
get/v1/ai/uploads
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/uploads
- Auth: API key in header x-magnific-api-key
Response
OK - The list of uploaded files.
Example response
{
"files": [
{
"size_bytes": 0,
"expires_at": "2000-01-23T04:56:07.000+00:00",
"content_type": "content_type",
"file_id": "upl_a1b2c3d4e5f6",
"ttl_seconds": 6,
"created_at": "2000-01-23T04:56:07.000+00:00",
"asset_url": "https://cdn-magnific.freepik.com/uploads/109580722/upl_img_a1b2c3?token=exp=1783147635~hmac=...",
"asset_url_expires_in": 86400
},
{
"size_bytes": 0,
"expires_at": "2000-01-23T04:56:07.000+00:00",
"content_type": "content_type",
"file_id": "upl_a1b2c3d4e5f6",
"ttl_seconds": 6,
"created_at": "2000-01-23T04:56:07.000+00:00",
"asset_url": "https://cdn-magnific.freepik.com/uploads/109580722/upl_img_a1b2c3?token=exp=1783147635~hmac=...",
"asset_url_expires_in": 86400
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.