agent_tests

Test the AI SDR on a reply

Test the AI SDR on a real reply: the thread, and the lead's message to answer (its newest when omitted). It reads the thread up to that message and nothing after it, classifies it and writes the reply it would send, as a test: every check runs, nothing is sent, booked, written to the thread or learned. Comes back running: read it with get_agent_test until done, then compare reply.text with person.text, what a person answered. 422 no_lead_message, 503 runtime_unavailable.

Contract:

  • MCP tool start_agent_test, registry package mcp.unibox/agent_tests, mount unibox.agent-memory.
  • Operation create, response envelope create.
  • Flags: none.
post/api/agent-tests

Request

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

Request body

conversation_sidstring required

The thread to test on (ub_cv_…).

from_message_sidstring

The lead's message to answer (ub_ms_…); the thread's newest message of the lead's when omitted. The thread is read up to it and nothing after it.

Response

create success envelope.

successtrue required
operation'create' required
already_existsboolean required

Changes

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