Create source upload URL
Presign an upload URL for a file-based content source (e.g. a PDF or transcript). Upload the file bytes to the returned URL, then call createSource with the returned storagePath to start ingestion. Never spends credits.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Body
MIME type of the file to upload; allowlisted per source kind (audio or pdf).
"application/pdf"
Original filename including extension, used to derive the storage path.
"episode-42.mp3"
File size in bytes; capped at issuance (100 MB for audio, 500 MB for pdf).
1048576