Skip to main content
GET
/
documents
List Documents
curl --request GET \
  --url https://api.example.com/documents
{
  "documents": [
    {}
  ],
  "total": 123
}

Query Parameters

page
number
The page number to retrieve. Defaults to 1.
limit
number
The number of items per page. Defaults to 20, Max 100.

Response

documents
array
Array of document metadata objects.
total
number
Total number of documents.
Example Response
{
  "documents": [
    {
      "id": "doc-123",
      "title": "Welcome",
      "status": "indexed"
    }
  ],
  "total": 1
}