Documents
/documents
Create new document.
POST
Body
A name for the document.
The document type. Options:
TXT, PDF, YOUTUBE, CSV or URL.A publicly available
URL for the document.The first page to ingest.
The last page to ingest.
Any authorization/authentication needed to access the document
The desired text splitter for the document, defaults to
CharacterTextSplitter.Any key values necessary to ingest the document.
Response
Indicates whether the call was successful.
A
document object.