Get Message Experiments
get_message_experimentsEach test carries versions A and B with their template text, sent / replied /
interested / meetings counts, and a verdict: too_early until each version has 30
sends, then the leader with its probability of scoring higher on the test's metric —
leading, or wins at 95%. A send step's metric is replied. A connection request's is
accepted, with an accepted count per version; there an empty version text is a request
sent with no note, and recent requests haven't all been answered yet, so the version accepted
faster reads a little ahead early on. Relay that probability plainly, and say "too early"
when it is; at current volumes a test takes weeks. "Replied" counts any reply on that channel
after the send, including replies to later steps.
The tests (experiments), newest first, as
{experiments: [{node_id, node_label, metric, started_at, ended_at (null while running), ended_by, versions: [{label, template_id, text, sent, replied, interested, meetings, accepted (connection requests only)}], verdict}]}, where ended_by says how a past test ended — keep_a / keep_b when that
version went on alone, edit_a / edit_b when that version was edited (which restarts
the test), edit otherwise — and is null while it runs; across every agent each also carries
agent_id, agent_title and owner_email. The experiment at experiment_index also
carries each version's messages (newest first: {prospect_id, prospect_name, person, sent_at, text, outcome}), filtered to outcome and paged 50 at a time from offset,
with messages_total. A past test that sent nothing is left out, so an empty
experiments means no test in that scope is running or ever sent a message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Where the page of messages starts. | |
| node_id | No | A send or connection-request step's node id, to scope to that step. Needs `agent_id`. | |
| outcome | No | Only messages whose prospect reached this outcome (meeting counts as interested and replied; interested counts as replied; on a connection request, replied counts as accepted). None = every sent message. | |
| agent_id | No | ID of the agent (campaign) to scope to. Omit for every agent. | |
| as_teammate | No | Read a consented teammate's tests instead of your own — pass their email. Gated on that teammate's conversation-sharing setting. Omit for your own. | |
| experiment_index | No | Which experiment's messages to include, 0 = newest. |