List media in the workspace
curl --request GET \
--url https://api.rask.ai/v3/media \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/media"
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/media', 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/media",
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/media"
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/media")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/media")
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": "list",
"data": [
{
"object": "media",
"id": "c7d2a9e4-3b1f-4a6c-8d5e-9f0b2e7c1a63",
"status": "ready",
"kind": "video",
"purpose": "project_source",
"filename": "q3-webinar-teaser.mp4",
"content_type": "video/mp4",
"size_bytes": 18874368,
"duration_seconds": 10,
"video": {
"width": 1920,
"height": 1080,
"frame_rate": 30,
"codec": "h264"
},
"audio": {
"channels": 2,
"sample_rate": 48000,
"codec": "aac"
},
"source": {
"type": "upload",
"provider": null,
"url": null
},
"import_job_id": "0b7d4e2a-6c1f-4a8e-b3d9-5e2c7a1f9b46",
"error": null,
"created_at": "2026-11-03T09:00:00Z",
"ready_at": "2026-11-03T09:01:12Z"
}
],
"next_cursor": null,
"has_more": false
}
Media
List media in the workspace
Lists media items uploaded or imported through v3, newest first.
GET
/
media
List media in the workspace
curl --request GET \
--url https://api.rask.ai/v3/media \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rask.ai/v3/media"
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/media', 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/media",
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/media"
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/media")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/media")
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": "list",
"data": [
{
"object": "media",
"id": "c7d2a9e4-3b1f-4a6c-8d5e-9f0b2e7c1a63",
"status": "ready",
"kind": "video",
"purpose": "project_source",
"filename": "q3-webinar-teaser.mp4",
"content_type": "video/mp4",
"size_bytes": 18874368,
"duration_seconds": 10,
"video": {
"width": 1920,
"height": 1080,
"frame_rate": 30,
"codec": "h264"
},
"audio": {
"channels": 2,
"sample_rate": 48000,
"codec": "aac"
},
"source": {
"type": "upload",
"provider": null,
"url": null
},
"import_job_id": "0b7d4e2a-6c1f-4a8e-b3d9-5e2c7a1f9b46",
"error": null,
"created_at": "2026-11-03T09:00:00Z",
"ready_at": "2026-11-03T09:01:12Z"
}
],
"next_cursor": null,
"has_more": false
}
Media uploaded in the web app is not addressable.
When to use: to find a ready media item to reuse.
Side effects: None.
Cost: Free.
Idempotency: safe and pure (never writes); retry freely.
Pagination:
limit (default 20, max 100) and cursor; follow next_cursor until has_more is false.
Required scopes: media:readAuthorizations
Query Parameters
Response
OK: MediaList.
A page of Media (the list envelope shared by every list).