Upsert a Source

This endpoint manages training sources, the primary components for shaping the AI's knowledge space. Sources represent individual pieces of training data, essential for refining the AI's understanding. Any content saved will be able to be recalled.

The key field acts as an identifier for this source. If a source already exists with the passed key value, the existing source will be overwritten. If an existing source with that key does not exist, a new source will be created.

Path Params
string
required
string
required
Body Params
string
required
length ≤ 256

Unique identifier for this information that is consistent across updates.

uri

Source page URL, where user can find more information.

string
required
length ≤ 100000

Content of the source. Encrypted at rest.

string
required
length ≤ 64

Title of the content.

string
required
length ≤ 16

A string representing where this exchange originates from.

metadata
object
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json