Skip to main content
POST
Add knowledge base sources in bulk

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Headers

Idempotency-Key
string

A unique key that makes the request safe to retry, such as a V4 UUID. 1 to 255 printable ASCII characters.

Required string length: 1 - 255

Body

application/json
agent_id
string
required
Maximum string length: 64
sources
object[]
required
Required array length: 1 - 100 elements

Response

The new sources, in the order sent.

object
any
required
data
object[]
required

The new sources, in the order sent.

has_more
any
required
next_cursor
null
required