Link an external file (SharePoint, Google Drive, etc.) and return a file upload record
Changed onThis endpoint creates a file upload record that references an external file, allowing it to be used in chat messages or attached to assistants. If chat_id is provided, the file is associated with that chat. If not provided, the file is created as a standalone upload.
Request
- The document declares no server URL.
- Authnone declared
Request body
Request to link an external file (SharePoint, Google Drive, etc.)
Optional chat ID to associate the file with. If not provided, creates standalone files.
Provider-specific metadata (e.g., drive_id, item_id for SharePoint)
The source/provider type: "sharepoint" (future: "google_drive", etc.)
Response
Response for file upload
The list of uploaded files with their IDs and filenames
Filenames skipped by the configured operation policy.
Changes
- info
added the optional property
files/items/audio_synthesisto the response with the status
- info
- warning
removed the optional property
files/items/audio_synthesisfrom the response with the status
- warning