POST
/
api
/
v1
/
documents
/
search
curl --request POST \
  --url http://localhost:8787/api/v1/documents/search \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "language": "<string>",
  "page": 1,
  "limit": 10
}'
{
  "data": [
    {
      "id": 123,
      "title": "<string>",
      "type": "<string>",
      "uploadDate": "<string>",
      "size": "<string>",
      "quizCount": 123,
      "processingStatus": "pending"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "totalItems": 123,
    "totalPages": 123,
    "hasNextPage": true,
    "hasPreviousPage": true
  }
}

Body

application/json

Response

200 - application/json

Documents retrieved successfully

The response is of type object.