/assist-ai/generate_file_upload_url

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint generates a secure pre-signed URL that allows you to upload a knowledge file directly to Panda Video’s storage (S3).

It is the first step in the Tutor AI knowledge upload workflow.

When called, the API:

  • Associates the file with a specific Tutor AI (assistant_id)
  • Registers the file metadata (name, type, size)
  • Generates a temporary S3 upload URL
  • Returns a unique file_id required for upload confirmation

The returned URL must be used in the next step to upload the file.

NameTypeDescription
assistant_idstring (UUID)Unique identifier of the AI Assistant to which the file will be linked. You can retrieve this value using the Get Assistants endpoint: https://docs.pandavideo.com/reference/get_assist-ai-assistants
file_namestringOriginal name of the file that will be uploaded to compose the knowledge base.
file_typestringFile type or extension (e.g., txt, pdf, docx).
file_sizeintegerFile size in bytes. Must exactly match the size of the file uploaded to S3.
Body Params
string
required

UUID

string
number
required
string
required
Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!