agent_runs

Route agent reply fix

Where a person's fix to an AI SDR reply belongs, with its draft: a Knowledge answer, the reply as the golden set should hold it, a line of the Brief, a line of the voice, a field of the Rules with its value, or a line on a step of the scenario the reply came from, and a sentence on why. place asks for one place's draft. Nothing is saved: apply_agent_fix adds it. 503 composer_unavailable; 409 fix_not_routed (say it another way, or pick the place).

Contract:

  • MCP tool route_agent_fix, registry package mcp.unibox/agent_runs, mount unibox.agent-memory.
  • Operation action, response envelope action.
  • Flags: read only.
post/api/agent-runs/{sid}/route-fix

Request

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

Path parameters

sidstring required

The run whose reply the fix is about (ub_rn_…): a row of the Analyzer's log, from search_agent_runs.

Request body

textstring required

What the person said about the reply, typed or dictated, as they said it (1..2000 chars).

place'knowledge' | 'golden_set' | 'brief' | 'voice' | 'rules' | 'scenario' nullable

The place the person picked, for its draft: knowledge (a fact), golden_set (the reply as it should have gone), brief (a standing rule), voice (one of its four lines), rules (a setting), scenario (a line on its step). Left out, the composer picks.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

itemunknown required

Changes

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