Skip to main content
POST
Add a knowledge source

Authorizations

Authorization
string
header
required

An API key, wd_....

Path Parameters

agent_id
string
required

The agent's id.

Body

application/json
type
enum<string>
required
Available options:
text,
url
content
string

For text.

Maximum string length: 200000
label
string

For text. Defaults to "Pasted text".

Maximum string length: 200
url
string

For url: the website to crawl.

Response

Text, indexed

data
object
required