curl --location 'https://document-query.pyqai.com/insert' \ --header 'Authorization: ExampleToken' \ --form 'account_id="ExampleAccountId"' \ --form 'index_name="ExampleNewIndexName"' \ --form 'document_source="Example1"' \ --form 'input_sequence=@"example_file_path.txt"'
{ "response": "Successfully inserted new document to index" }
This endpoint inserts a document into an index.