GET
/
v2
/
agents
/
{agent_id}
/
kb
/
{doc_id}

Authorizations

Authorization
string
header
required

Agent/Workspace secret API key as bearer token.

Path Parameters

agent_id
string
required

The ID of the agent to retrieve the document from

doc_id
string
required

The ID of the document to retrieve

Response

200 - application/json
data
object

The data related to the document.

documentID
string

The unique identifier for the document.

status
object

Status information for the document.

tags
string[]

List of tags associated with the document.

updatedAt
number

Timestamp indicating when the document was last updated.