Skip to main content
PATCH
Replace source knowledge

Authorizations

x-api-key
string
header
required

Your Vern API key. Create one at Settings → API keys.

Path Parameters

source
string
required

The source's name, as returned by GET /sources. URL-encode names containing spaces.

Body

application/json
knowledge
string | null
required

Replaces the whole document. Empty string clears it.

if_unmodified_since
string

The updated_at you last read. Supply it to get 412 instead of silently overwriting a concurrent change.

Response

Knowledge updated.

source
string
knowledge
string | null
updated_at
string | null