post
https://api-v2.pandavideo.com/assist-ai/generate_file_upload_url
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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_idrequired for upload confirmation
The returned URL must be used in the next step to upload the file.
| Name | Type | Description |
|---|---|---|
| assistant_id | string (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_name | string | Original name of the file that will be uploaded to compose the knowledge base. |
| file_type | string | File type or extension (e.g., txt, pdf, docx). |
| file_size | integer | File size in bytes. Must exactly match the size of the file uploaded to S3. |
