Creates a Document or Text Source that can be added to Knowledge Bases as a Knowledge Base Source or used as context for an Explanation. Upload a file that can be used across various endpoints. Individual document files can be up to 100 MB, text Sources can be up to 1000000 characters long, and the size of all Sources uploaded by one Organization
can be up to 100 GB Document Sources
are submitted as multipart/form-data and Text Sources
as application/json.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The Source
object represents a document source (.pdf, .jpg, .png) or text source (plain-text) that has been uploaded to Totoy.