retriever
POST/api/v1/retriever/retrieve
Retrieve
Retrieve documents.
Request Body
query
RequiredQuery
index_name
RequiredIndex Name
Status code | Description |
---|---|
200 | Successful Response |
422 | Validation Error |
POST/api/v1/retriever/ingest
Ingest
Ingest documents.
Request Body
index_name
RequiredIndex Name
loader_type
RequiredLoader Type
kwargs
RequiredKwargs
Status code | Description |
---|---|
200 | Successful Response |
422 | Validation Error |
GET/api/v1/retriever/ingest/status/{task_id}
Ingest Status
Get ingest task status.
Path Parameters
task_id
RequiredTask Id
Status code | Description |
---|---|
200 | Successful Response |
422 | Validation Error |