Skip to main content
GET
/
agents
/
{agentId}
/
kb
/
{docId}
Get a Knowledge Base by id
curl --request GET \
  --url https://eu-cloudflare.vg-stuff.com/agents/{agentId}/kb/{docId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": "<unknown>"
}
The chunks array shows how the document content was split for vector embeddings. Each chunk has a chunkID and content field.
Use this endpoint to verify document processing status and inspect how content was chunked for the knowledge base.

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required
docId
string
required

Response

Successful response

success
boolean
required
message
string
required
data
any