agent_sources

Update Knowledge document

Rename a Knowledge document, change how it is read (instruction, read by its next parse: read_again_agent_source) or a website's refresh (weekly or daily; a file is read when you ask, 422 on refresh).

Contract:

  • MCP tool update_agent_source, registry package mcp.unibox/agent_sources, mount unibox.knowledge.
  • Operation update, response envelope update.
  • Flags: none.
patch/api/agent-sources/{sid}

Request

  • Base URL
    https://beta.getsales.io/unibox/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

Knowledge document sid (ub_as_…).

Request body

titlestring

A new name.

instructionstring nullable

A new instruction, read by the next parse (read_again_agent_source); null clears it.

refresh'weekly' | 'daily'

A website's refresh (weekly or daily); its next read moves with it. 422 on a file.

Response

update success envelope.

successtrue required
operation'update' required
updated_fieldsstring[] required
previous_valuesobject required
kept_fieldsstring[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.

Changes

No recorded changes to this operation across all 1 revision of this API.