POST
/
v2
/
agents
/
{agent_id}
/
kb
/
search

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 search the KB of

Body

application/json
chunks
number

The maximum number of results to return

query
string

The search query

Response

200 - application/json
data
object[]

Array of KB Docs

message
string
success
boolean