Skip to main content
POST
Validate an agent configuration

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"

Body

application/json
config
AgentSpec · object
required

A complete agent. Every field optional.

agent_id
string<uuid> | null

The agent this config is an edit of. A knowledge source it already attaches that has since been deleted from the library is then dropped with a warning, as saving it would; without it, such an id is refused like any unknown one.

Response

Successful Response

valid
boolean
required
config_hash
string
required
findings
ValidationFinding · object[]
required
resolved
Resolved · object
required

The configuration with every server default applied — what would be saved.