Documents
Create and Index Document
Creates a new document and indexes it in the vector store
POST
Request Body
Project ID to associate the document with
Name of the file/document
Type of file (e.g.,
pdf, txt, md, docx)Source type of the document (e.g.,
upload, url, integration)Content of the document to be indexed
Optional file ID if document is linked to a file
Response
Processing status:
processing, completed, or failedStatus message or error details
Unique identifier for the created document

