agent_examples

Update golden set row

Change a golden set row: keep true puts a proposed edit in the set as golden (From your edits), tier promotes or demotes, note says when it applies, and an edited situation or answer is embedded again.

Contract:

  • MCP tool update_agent_example, registry package mcp.unibox/agent_examples, mount unibox.agent-memory.
  • Operation update, response envelope update.
  • Flags: none.
patch/api/agent-examples/{sid}

Request

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

Path parameters

sidstring required

Golden set row sid (ub_eg_…).

Request body

keepboolean

true on a proposed edit (From your edits): it joins the set as golden.

tier'golden' | 'auto'

golden promotes (and keeps a proposed row), auto demotes.

notestring nullable

When the row applies, max 512 chars; null clears it.

situationstring

The situation, rewritten: the thread's names are stored as placeholders again, and the row is embedded again.

context_beforestring nullable

Our message before it; the row is embedded again.

answerstring

The answer, rewritten: a name of the thread's lead, their company or the sender profile is stored as its placeholder again.

scenario_keystring nullable

The scenario it belongs to.

channel'linkedin' | 'email' nullable

The channel it answers on; null for every channel.

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.