Skip to main content
PUT
Set a knowledge source's version

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, sent as Authorization: Bearer kb_live_…. A workspace key starts kb_; a personal key starts kbp_ and acts as its owner.

Headers

Kallabot-Version
enum<string>

The API version to answer as, a date (YYYY-MM-DD). Leave it out for the current version (2026-11-07). An unknown version is refused with 400 unsupported_api_version.

Available options:
2026-11-07
Example:

"2026-11-07"

Path Parameters

source_id
string
required

Body

application/json

A document's version: the date it takes effect and the older source it replaces.

effective_date
string<date> | null

The date the document takes effect (null keeps the one read from it, else its upload date).

replaces_id
string | null

The older source this one replaces; it stops answering once this one is ready. Null: replaces nothing.

Response

Successful Response

source
KnowledgeSource · object
required
changed
enum<string>[]
required
Available options:
name,
text