Document Q&A API
Insert Document
This endpoint inserts a document into an index.
POST
/
insert
Form Data
input_sequence
file
requiredThis is the document you want to insert into your index. Currently supported file types are md, pdf, and txt.
document_source
string
requiredThis is the name of the document you wish to insert.
account_id
int
requiredThis is your account ID.
index_name
string
This is the name of the index you wish to insert the document into. This parameter is optional - if left blank will use auto indexing.
Headers
Authorization
string
requiredThis is your API token associated with your account.
Response
response
string
Indicates whether the insert document call was successful.