Skip to main content
POST
Update Knowledge
Use this API to replace a knowledge source’s content. The pipeline re-runs (conversion, rule extraction, embedding) and the source’s version is bumped.

Endpoint

POST https://api.velt.dev/v2/memory/knowledge/update

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Replace a source’s content

Response

The response reports a diff of extracted rules (added, removed, unchanged) and the new version number.

Success Response

Failure Response