Skip to main content
GET
Get a Knowledge Base by id
This is the endpoint that returns the hydrated document body. Use it (or list with includeContent=true) when you need the actual KB text — the list route alone does not.
Hydrated text is in data.vgKbDoc.content and the nested data.data.status.data.content field. The chunks array shows how that content was split for vector embeddings.
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
object
required