Document Q&A API
Related Documents
Returns documents most related to your query.
GET
/
related-documents
Query Parameters
account_id
int
requiredThis is your account ID.
input_sequence
string
requiredThis is the query we use to search for related documents.
num_docs
int
requiredNumber of related documents you want to receive.
index_name
string
This is the name of the index you want to search for the specifed document. 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
list
Contains a list of the more relevant samples from however many files were specified, as well as a score for how closely the content matches the query.