Upload Tutor File


The Tutor AI allows you to enhance the assistant’s knowledge by uploading external files containing additional information. These files are processed and used to improve the Tutor’s ability to answer user questions based on video content and supporting materials.

To ensure security, scalability, and performance, Panda Video uses a pre-signed URL upload workflow, where files are uploaded directly to Panda Video’s storage infrastructure (S3), without passing through the API servers.

Upload Flow Overview

Uploading knowledge files to the Tutor AI consists of three steps:

1° Generate a secure upload URL

2° Upload the file directly to storage

3° Confirm the upload

Once all steps are completed, the file becomes part of the Tutor’s knowledge base and can be used to generate contextual AI responses.

📘

Step 1 – Generate a Secure Upload URL

First, you must request a pre-signed upload URL.
This URL allows secure and temporary access for uploading a file directly to Panda Video’s storage.

This request also registers the file metadata and returns a unique file_id, which will be required in the next steps.

Endpoint

🔗 Generate Upload URL
https://docs.pandavideo.com/update/reference/generate-url-midia

📘

Step 2 – Upload the File to the Storage URL

After receiving the pre-signed URL, upload the file directly to the S3 URL using a standard HTTP request (PUT).

This step is performed outside of Panda Video’s API.

Important notes

The upload must be made exactly to the URL returned in Step 1

The file content must match the declared type and size

The URL is temporary and will expire

🔗 Send files to S3 tutor
https://docs.pandavideo.com/reference/send-files-to-s3-tutor

📘

Step 3 – Confirm the Upload

Once the file has been successfully uploaded to S3, you must notify Panda Video that the upload is complete.

This confirmation triggers the processing and indexing of the file so it can be used by the Tutor AI.

Endpoint

🔗 Confirm File Upload
https://docs.pandavideo.com/update/reference/confirm-file-upload