Get an upload and refresh its upload URLs
curl --request GET \
--url https://api.rask.ai/v3/uploads/{upload_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/uploads/{upload_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/uploads/{upload_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/uploads/{upload_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/uploads/{upload_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/uploads/{upload_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/uploads/{upload_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "upload",
"id": "a41f7c2d-9e3b-4d5a-b8c1-6f2e0d9a7b14",
"status": "pending",
"filename": "q3-webinar-teaser.mp4",
"content_type": "video/mp4",
"size_bytes": 18874368,
"purpose": "project_source",
"transfer": {
"method": "single",
"url": "https://storage.example.com/q3-webinar-teaser.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=3b9f0c",
"headers": {
"Content-Type": "video/mp4",
"Content-Length": "18874368"
},
"expires_at": "2026-11-03T10:00:00Z"
},
"media_id": null,
"import_job_id": null,
"expires_at": "2026-11-04T09:00:00Z",
"created_at": "2026-11-03T09:00:00Z"
}Uploads
Get an upload and refresh its upload URLs
Returns an upload, with freshly signed transfer URLs while it is pending for a key that may write.
GET
/
uploads
/
{upload_id}
Get an upload and refresh its upload URLs
curl --request GET \
--url https://api.rask.ai/v3/uploads/{upload_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/uploads/{upload_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rask.ai/v3/uploads/{upload_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rask.ai/v3/uploads/{upload_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rask.ai/v3/uploads/{upload_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rask.ai/v3/uploads/{upload_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/uploads/{upload_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "upload",
"id": "a41f7c2d-9e3b-4d5a-b8c1-6f2e0d9a7b14",
"status": "pending",
"filename": "q3-webinar-teaser.mp4",
"content_type": "video/mp4",
"size_bytes": 18874368,
"purpose": "project_source",
"transfer": {
"method": "single",
"url": "https://storage.example.com/q3-webinar-teaser.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=3b9f0c",
"headers": {
"Content-Type": "video/mp4",
"Content-Length": "18874368"
},
"expires_at": "2026-11-03T10:00:00Z"
},
"media_id": null,
"import_job_id": null,
"expires_at": "2026-11-04T09:00:00Z",
"created_at": "2026-11-03T09:00:00Z"
}Returns an upload, with freshly signed transfer URLs while it is pending for a key that may write (
media:write; a key without it reads transfer: null, because the URL can overwrite the object), and its media_id and import_job_id once completed.
When to use: when a part URL expired during a long transfer, or to find the media created by completeUpload.
Side effects: None (signing URLs writes nothing).
Cost: Free.
Idempotency: safe and pure (never writes); retry freely.
Required scopes: media:readAuthorizations
Response
OK: Upload.
A presigned upload. Bytes go straight to storage, never through the API host.
Upload status.
pending: waiting for bytes; transfer URLs are validcompleting: completeUpload is runningcompleted: registered as mediaaborted: deleted before completionexpired: not completed within 24 hours
Available options:
pending, completing, completed, aborted, expired Accepted upload content types. voice_sample uploads accept audio (<= 11 MB, kept as uploaded) and video (<= 500 MB; its audio is extracted to MP3 on import).
video/mp4: acceptedvideo/quicktime: acceptedvideo/x-matroska: acceptedvideo/webm: acceptedvideo/x-msvideo: acceptedvideo/x-m4v: acceptedvideo/3gpp: acceptedaudio/mpeg: acceptedaudio/wav: acceptedaudio/x-wav: acceptedaudio/flac: acceptedaudio/x-flac: acceptedaudio/mp4: acceptedaudio/x-m4a: accepted
Available options:
video/mp4, video/quicktime, video/x-matroska, video/webm, video/x-msvideo, video/x-m4v, video/3gpp, audio/mpeg, audio/wav, audio/x-wav, audio/flac, audio/x-flac, audio/mp4, audio/x-m4a