Skip to main content
GET
/
v1
/
senders
/
{senderId}
/
agent
/
knowledge-bases
/
{kbId}
/
documents
List documents
curl --request GET \
  --url https://api.zavu.dev/v1/senders/{senderId}/agent/knowledge-bases/{kbId}/documents \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "knowledgeBaseId": "<string>",
      "title": "<string>",
      "contentLength": 123,
      "chunkCount": 123,
      "isProcessed": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

senderId
string
required
kbId
string
required

Query Parameters

limit
integer
default:50
Required range: x <= 100
cursor
string

Response

List of documents.

items
object[]
required
nextCursor
string | null