curl --location 'https://document-query.pyqai.com/update' \ --header 'Authorization: ExampleToken' \ --form 'account_id="1"' \ --form 'index_name="Example New Index Name"' \ --form 'document_source="Example 1"' \ --form 'input_sequence=@"example_file_path.txt"'
{ "response" : "successfully updated document." }
This endpoint updates a document in an index.