agent_runs

Rewrite agent reply as a test

Write an AI SDR reply again as a test, after a fix: a turn of the kind that made it, over its kept context with the Knowledge and the golden set picked again for the same message, checked like any reply and never sent. result.run is the test run (outcome test): read it with get_agent_run until it is done (its words in record.text) or failed. 409 rewrite_unavailable (written before turns were kept, or 90 days ago), rewrite_of_test; 503 runtime_unavailable.

Contract:

  • MCP tool rewrite_agent_reply, registry package mcp.unibox/agent_runs, mount unibox.agent-memory.
  • Operation action, response envelope action.
  • Flags: none.
post/api/agent-runs/{sid}/rewrite

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 is written again (ub_rn_…), a row of the Analyzer's log; a test run is 409 rewrite_of_test.

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.