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

Authorizations

Authorization
string
headerrequired

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
documentID
string

The unique identifier for the document.

data
object

The data related to the document.

updatedAt
number

Timestamp indicating when the document was last updated.

status
object

Status information for the document.

tags
string[]

List of tags associated with the document.