Denser Retriever

List Documents

GET
/v1/listDocuments

Authorization

x-api-key
x-api-key<token>

In: header

Query Parameters

knowledgeBaseId*string

The ID of the knowledge base.

Length36 <= length <= 36

Response Body

application/json

application/json

application/json

curl -X GET "https://retriever.denser.ai/api/open/v1/listDocuments?knowledgeBaseId=stringstringstringstringstringstring"
{
  "success": true,
  "data": [
    {
      "id": "string",
      "title": "string",
      "type": "string",
      "size": 0,
      "status": "string",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "success": false,
  "message": "string",
  "data": {},
  "errorCode": "STORAGE_LIMIT_EXCEEDED"
}
{
  "success": false,
  "message": "string",
  "data": {},
  "errorCode": "INPUT_VALIDATION_FAILED"
}