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

Authorizations

Authorization
string
headerrequired

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

The search query

chunks
number

The maximum number of results to return

Response

200 - application/json
success
boolean
message
string
data
object[]

Array of KB Docs