API Reference

Search across all your trained documents to retrieve the relevant results with respect to a user query.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The user query as a string

integer
required

The number of results to be retrieved. Put -1 to retrieve all results

boolean
Defaults to false

Enables the correction of queries, if a typo is found a suggested_query is proposed in the response

boolean
Defaults to false

If set to True, it will only show one result per document. If set to False instead it may return more than one relevant result per document

Headers
string

Your 32 characters API Key token. If you don't have one yet, register at api.pigro.ai to receive it

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json