For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
StatusSupportDiscussionsLog inSign Up
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
  • ACTIVATE ACCOUNT
    • Create account
  • PRODUCT OS API
    • Overview
  • ERROR CODES
    • Error codes
  • VIDEO ON DEMAND API
    • Overview
      • GETGet list of all media
      • GETGet all clips of a live stream
      • GETGet a media by ID
      • DELDelete a media by ID
      • PATCHUpdate a media by ID
      • POSTAdd audio / subtitle track
      • PUTCancel ongoing upload
      • DELDelete audio / subtitle track
      • PATCHUpdate audio / subtitle track
      • POSTGenerate track subtitle
      • GETGet the summary of a video
      • PATCHUpdate the source access of a media by ID
      • PATCHUpdate the mp4Support of a media by ID
      • GETGet info of media inputs
      • GETGet all unused upload URLs
      • GETGet all clips of a media
  • LIVE STREAM API
    • Overview
  • VIDEO DATA API
    • Overview
LogoLogo
StatusSupportDiscussionsLog inSign Up
VIDEO ON DEMAND APIManage videos

Get list of all media

GET
https://api.fastpix.com/v1/on-demand
GET
/v1/on-demand
$curl https://api.fastpix.com/v1/on-demand \
> -u "<username>:<password>"
200Retrieved
1{
2 "success": true,
3 "data": [
4 {
5 "thumbnail": "https://images.fastpix.com/837f028b-dcaf-4c23-b368-3748641f74ac/thumbnail.png",
6 "id": "cfeec1a3-6cbd-40df-a425-2ed7f8f72ced",
7 "workspaceId": "6dc2b4e0-0615-42fd-a580-1f4aad932dfe",
8 "metadata": {
9 "key1": "value1"
10 },
11 "mediaQuality": "standard",
12 "maxResolution": "1080p",
13 "sourceResolution": "1080p",
14 "status": "Ready",
15 "sourceAccess": false,
16 "playbackIds": [
17 {
18 "id": "837f028b-dcaf-4c23-b368-3748641f74ac",
19 "accessPolicy": "public",
20 "accessRestrictions": {
21 "domains": {
22 "defaultPolicy": "allow",
23 "allow": [],
24 "deny": []
25 },
26 "userAgents": {
27 "defaultPolicy": "allow",
28 "allow": [],
29 "deny": []
30 }
31 }
32 }
33 ],
34 "tracks": [
35 {
36 "id": "f301a2a1-b40d-40fa-b419-4d0cd92a62f8",
37 "type": "video",
38 "width": 1920,
39 "height": 1080,
40 "status": "available"
41 }
42 ],
43 "generatedSubtitles": [],
44 "isAudioOnly": false,
45 "subtitleAvailable": true,
46 "duration": "00:00:10",
47 "aspectRatio": "16:9",
48 "createdAt": "2025-01-09T06:44:44.617138Z",
49 "updatedAt": "2025-01-09T06:44:53.742648Z"
50 }
51 ],
52 "pagination": {
53 "totalRecords": 100,
54 "currentOffset": 1,
55 "offsetCount": 10
56 }
57}
This endpoint returns a list of all media files uploaded to FastPix within a specific workspace. Each media entry contains data such as the media `id`, `createdAt`, `status`, `type` and more. It allows you to retrieve an overview of your media assets, making it easier to manage and review them. #### How it works Use the access token and secret key related to the workspace in the request header. When called, the API provides a paginated response containing all the media items in that specific workspace. This is helpful for retrieving a large volume of media and managing content in bulk. #### Example If you manage a video platform and need to review all uploaded media in your library to ensure that outdated or low-quality content isn’t being served, you can use this endpoint to retrieve a complete list of media. You can then filter, sort, or update items as needed.
Was this page helpful?
Previous

Get all clips of a live stream

Next
Built with

This endpoint returns a list of all media files uploaded to FastPix within a specific workspace. Each media entry contains data such as the media id, createdAt, status, type and more. It allows you to retrieve an overview of your media assets, making it easier to manage and review them.

How it works

Use the access token and secret key related to the workspace in the request header. When called, the API provides a paginated response containing all the media items in that specific workspace. This is helpful for retrieving a large volume of media and managing content in bulk.

Example

If you manage a video platform and need to review all uploaded media in your library to ensure that outdated or low-quality content isn’t being served, you can use this endpoint to retrieve a complete list of media. You can then filter, sort, or update items as needed.

Authentication

AuthorizationBasic

FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.

  • Username: Access Token ID
  • Password: Secret Key

Activate your FastPix account to generate your API credentials. See the guide here

Query parameters

limitintegerOptional1-50Defaults to 10
Limit specifies the maximum number of items to display per page.
offsetintegerOptionalDefaults to 1
Offset determines the starting point for data retrieval within a paginated list.
orderByenumOptionalDefaults to desc

The values in the list can be arranged in two ways: DESC (Descending) or ASC (Ascending).

Allowed values:

Response

List of video media
successboolean
Demonstrates whether the request is successful or not.
datalist of objects
Displays the result of the request.
paginationobject
Pagination organizes content into pages for better readability and navigation.