agent_source_parses

Take the answers found into Knowledge

Take a parse's answers into Knowledge (Add N answers): picks, the ids of the new and already_there rows to add as answers of the document, each linked to its page; conflicts, each says_otherwise row's id with keep_ours (nothing changes) or use_new (the existing answer is written over, its sid and reads kept); remove, the ids of the gone rows whose earlier answers go. 409 parse_not_found on a parse not waiting for a decision; 422 on an id of the wrong state.

Contract:

  • MCP tool apply_agent_source_parse, registry package mcp.unibox/agent_source_parses, mount unibox.knowledge.
  • Operation action, response envelope action.
  • Flags: none.
post/api/agent-source-parses/{sid}/apply

Request

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

Path parameters

sidstring required

Parse record sid (ub_ps_…).

Request body

picksinteger[]

The ids of the new and already_there rows to add as answers of the document, each linked to its page.

conflictsobject

Each says_otherwise row's id with keep_ours (nothing changes) or use_new (the existing answer is written over, its sid and reads kept, the document its source from here on).

removeinteger[]

The ids of the gone rows whose earlier answers are deleted.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

resultobject required

Changes

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