Skip to main content
POST
Upload a video, audio, or image file that can be used with Cloudglue services

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Upload a video, audio, or image file

file
file
required

The video, audio, or image file to be uploaded

metadata
object

User-provided metadata about the file

enable_segment_thumbnails
boolean

Whether to generate thumbnails for each segment

Response

Successful file upload

id
string
required

Unique identifier for the file

status
enum<string>
required

Processing status of the file

Available options:
pending,
processing,
completed,
failed,
not_applicable
uri
string
required

Cloudglue URI for the file, to be used in other API calls

bytes
integer | null

Size of the file in bytes, null if not available

created_at
integer

Unix timestamp in milliseconds when the file was created

filename
string

Original filename

metadata
object | null

User-provided metadata about the file, null if none provided

media_type
enum<string>

Type of media file (video, audio, or image). Images are processed at the file level only (no segmentation).

Available options:
video,
audio,
image
media_info
object

Unified media information for video, audio, and image files

video_info
object

Information about the video content

thumbnail_url
string

URL of the thumbnail for the file

source
enum<string>

Source of the file

Available options:
video,
youtube,
s3,
dropbox,
http,
upload,
google-drive,
zoom,
gong,
recall,
gcs,
grain,
loom,
iconik
source_metadata
object

Source provenance captured from the upstream connector at ingest time. Null when nothing was captured (older files, or a connector that does not yet populate it).