sources
Upload File To Source
Upload a file to a data source.
post/v1/sources/{source_id}/upload
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/sources/{source_id}/upload
- AuthHTTP bearer
Path parameters
source_idstring required
Query parameters
duplicate_handling'skip' | 'error' | 'suffix' | 'replace'
How to handle duplicate filenames when uploading files
How to handle duplicate filenames
namestring nullable
Optional custom name to override the uploaded file's name
Request body multipart/form-data
Response
Successful Response
Example response
{
"id": "file-123e4567-e89b-12d3-a456-426614174000"
}Changes
No recorded changes to this operation across all 36 revisions of this API.