Create file upload
Create a new file and receive a pre-signed upload URL. PUT the file bytes to the returned URL, then poll GET /v1/files/{fileId} until the file is ready.
Authentication
Request
The type of file to upload. Optional; when omitted, the type is inferred after upload processing completes.
When true, the file is temporary. Temporary files are guaranteed to be available for 24 hours, after which they may be archived at any time. Temporary files are not analyzed (no description, transcript, or embedding will be generated), so they will not appear in search results. Defaults to false.
Response
The file id to use in subsequent API calls (e.g. vg_file_...).
Pre-signed URL. PUT the raw file bytes to this URL to complete the upload.