Document Q&A API
Related Documents
Returns documents most related to your query.
GET
/
related-documents
Query Parameters
This is your account ID.
This is the query we use to search for related documents.
Number of related documents you want to receive.
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
This is your API token associated with your account.
Response
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.