This endpoint will upload a file to the index and return a document ID.
The file will be processed in the background and the document will be available for querying once the processing is complete.
You can use the document_id
to query the document later, and check the status of the document.
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Successful Response
The response is of type object
.