DenserRetriever

retriever

POST/api/v1/retriever/retrieve

Retrieve

Retrieve documents.

Request Body

query
Required
Query

index_name
Required
Index Name

Status codeDescription
200Successful Response
422Validation Error
curl -X POST "https://example.com/api/v1/retriever/retrieve" \
  -d '{
  "query": "string",
  "index_name": "string"
}'

null

POST/api/v1/retriever/ingest

Ingest

Ingest documents.

Request Body

index_name
Required
Index Name

loader_type
Required
Loader Type

kwargs
Required
Kwargs

Status codeDescription
200Successful Response
422Validation Error
curl -X POST "https://example.com/api/v1/retriever/ingest" \
  -d '{
  "index_name": "string",
  "loader_type": "string",
  "kwargs": {}
}'

null

GET/api/v1/retriever/ingest/status/{task_id}

Ingest Status

Get ingest task status.

Path Parameters

task_id
Required
Task Id

Status codeDescription
200Successful Response
422Validation Error
curl -X GET "https://example.com/api/v1/retriever/ingest/status/string"

null

On this page

Edit on Github