1
Ingest an entry
Test data ingestion by making a POST request to the
/api/v1/ingest/your_schema
endpoint:The current example will not work as-is. Please change the request body according to your schema requirements.
2
Query your system
After ingesting data, query the API by making a POST request to the
/api/v1/search/query
endpoint:The
x-include-metadata: true
header will include additional debug information about your query, such as search vector, weights and evaluated NLQ outputs.3
See available data loaders
To see what data loaders are available, send a request to the data loader endpoint:Successful response (200 OK):
The keys are the available data loader names that you can use for the data loader endpoints. To see how these names are constructed and can be altered, read the docs here.
4
Trigger the data load
Initiate the data load by invoking its endpoint. This will spawn an asynchronous task Successful response (202 Accepted):
DataLoaderSource
by its name as defined in your api.py
:If the name you provided is not found in the system, a 404 NOT FOUND will be returned. Check the logs to verify the result of the task.