curl -X GET https://api.verbalisai.com/v1/storage/file/user123/audio-recording-1642234567.mp3 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"fileKey": "user123/audio-recording-1642234567.mp3",
"originalName": "audio-recording.mp3",
"size": 1048576,
"sizeFormatted": "1.00 MB",
"contentType": "audio/mpeg",
"uploadedAt": "2024-01-15T10:30:00Z",
"lastModified": "2024-01-15T10:30:00Z",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"publicUrl": "https://r2-bucket.domain.com/user123/audio-recording-1642234567.mp3",
"downloadUrl": "https://api.verbalisai.com/v1/storage/download/user123/audio-recording-1642234567.mp3"
}
}
Get information about a stored file
curl -X GET https://api.verbalisai.com/v1/storage/file/user123/audio-recording-1642234567.mp3 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"fileKey": "user123/audio-recording-1642234567.mp3",
"originalName": "audio-recording.mp3",
"size": 1048576,
"sizeFormatted": "1.00 MB",
"contentType": "audio/mpeg",
"uploadedAt": "2024-01-15T10:30:00Z",
"lastModified": "2024-01-15T10:30:00Z",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"publicUrl": "https://r2-bucket.domain.com/user123/audio-recording-1642234567.mp3",
"downloadUrl": "https://api.verbalisai.com/v1/storage/download/user123/audio-recording-1642234567.mp3"
}
}
curl -X GET https://api.verbalisai.com/v1/storage/file/user123/audio-recording-1642234567.mp3 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"fileKey": "user123/audio-recording-1642234567.mp3",
"originalName": "audio-recording.mp3",
"size": 1048576,
"sizeFormatted": "1.00 MB",
"contentType": "audio/mpeg",
"uploadedAt": "2024-01-15T10:30:00Z",
"lastModified": "2024-01-15T10:30:00Z",
"etag": "d41d8cd98f00b204e9800998ecf8427e",
"publicUrl": "https://r2-bucket.domain.com/user123/audio-recording-1642234567.mp3",
"downloadUrl": "https://api.verbalisai.com/v1/storage/download/user123/audio-recording-1642234567.mp3"
}
}
Show File Information Object