Skip to main content
POST
UpdateKnowledgeAPI mirrors the canonical typed Knowledge action. The action

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Path Parameters

knowledgeObjectID
string
required

Body

application/json
action
string
required
access
string

(workspace | public). Ignored by other actions.

agent
string
body_markdown
string
config_json
object
expected_updated_at
string<date-time>

a previous read. A mismatch returns a conflict without changing the object. Omit it to retain the existing unconditional action semantics.

status
string

(draft | approved | archived). Ignored by other actions.

title
string

Response

Success response

attachments
object[]
attachments_incomplete
boolean

resolved on this read — the public-grant lookup failed, or an attachment could not be signed — and Attachments therefore under-reports (Public false, SignedURL empty) rather than failing the read. A caller that would PERSIST a conclusion drawn from attachment state (the sending-theme derivation, which stores "no public logo" as final) must treat this read as transient and try again later.

data_bindings
object[]
declared_context_status
string

can be resolved and viewed. Unknown conveys no target identity or type.

object
object
performance_indicators
object[]
resolved_body_markdown
string

resolved to their live values — non-nil only when the body contains references. Object.BodyMarkdown stays the raw, editable template; this is the read-time view. Render this for viewing/agent-context; edit the raw. A non-nil pointer to "" means references were present but all resolved to empty strings; nil means no references (fast path, no resolution attempted).