Write a message
messages.optimize gives your agent one outbound message, written for the recipient. Amdahl writes it from the context you send, in the voice of the sender, and returns it on the same call. Amdahl writes its own draft from your facts, rules and evidence, and your own draft is optional. Amdahl evaluates it on style, and against your own customer conversations when you pass evidence: workspace.
Your agent knows who it is writing to. Send what it knows, and Amdahl returns one message written for that recipient, in the sender's voice. messages.optimize writes one outbound message from the context you send: who the recipient is, what you know about them, and what you want them to do. Amdahl writes in the voice of the person sending it, scores each version it tries, and returns the one that scored best.
Amdahl writes its own draft from your facts, rules and evidence. Your own draft is optional. Amdahl reads it for its facts, after the facts you send, and uses its closing ask only when you state none. Its sign-off name signs the message. Its wording, order and layout are not kept. So put each point you want made in facts, and your exact closing ask in rules. The response's draft_used_for_facts or draft_not_read note says whether Amdahl could read anything from the draft. Context says what to send and what counts as enough.
The quality of the message depends on the quality of the context. A run on one thin fact and no draft returns a thin message, because nothing else gives it substance. It needs no connected data, so it is the first result a new workspace can get, but connected data and recipient fields make the message specific. The cookbooks put it to work: one draft read end to end, a campaign from a spreadsheet, and the call in front of your send queue.
| Operation | REST | MCP | Scope | |
|---|---|---|---|---|
| Write a message | messages.optimize | POST /messages/outbound | outbound_message | messages:execute |
| Queue many messages | messages.optimize_batch | POST /messages/outbound/batch | outbound_message_batch | messages:execute |
| Read a batch | messages.batch_status | GET /messages/outbound/batches/{id} | get_message_batch | messages:execute |
| Read a past run | messages.get_run | GET /messages/outbound/runs/{id} | get_message_run | messages:execute |
| Record feedback on a run | messages.record_feedback | POST /messages/outbound/runs/{id}/feedback | record_message_feedback | messages:execute |
| Report sent messages | messages.report_send | POST /messages/report_send | report_message_sent | messages:execute |
| Grade or improve a prompt | messages.optimize_prompt | POST /messages/outbound_prompt | outbound_prompt | messages:execute |
| Read a prompt run | messages.get_prompt_run | GET /messages/outbound_prompt/{id} | get_prompt_run | messages:execute |
For more than a handful of messages, use a batch: one request, a batch_id back at once, and no 429 for being busy.
To evaluate a draft without rewriting it, send it with mode: "grade": see Evaluate a message. To evaluate or improve a reusable prompt that writes emails for many recipients, use messages.optimize_prompt: see Improve a prompt. On 2026-10-22 evaluation moved into these two calls, and the evals stopped running.
A Customer agent key carries messages:execute (amdahl keys create --preset agent). A key created before the Outbound call went public does not: create a new one. A Read only key is refused with 403 forbidden.
What it grades
That depends on evidence, which you choose per call, and then on whether the workspace has synced conversations:
evidence: "off", or omitted on a call with no draft and no recipient company, or where the deployment does not read your conversations: style alone. How the message reads (tone and length), how clear its ask is, and how close it is to the way you write. This is the fast evaluation, the one a workspace gets before its data is connected, and it is what a brand-new workspace gets either way.evidence: "workspace", or omitted on a call with a draft or a recipient company where the deployment reads your conversations, on a workspace with synced conversations: style, and the message against your own customers' words. It is slower. Each evaluation reads about 20 quotes from the workspace's own conversations, and also scores four dimensions against them:relevant_positioning(is the offer positioned for this customer's situation rather than as a generic pitch),grounding(are its claims backed by what your customers actually said),verified_specifics(are its specific details ones your customers actually stated) anddifferentiation(does it make a distinct, evidence-backed point rather than boilerplate). The writer reads up to 8 of those quotes too, to ground the message in what your customers actually say; it never quotes them or presents them as the recipient's words. The blind re-evaluation behindliftreads the same quotes, andlift.quotescounts them.
A call with no draft reads only the conversations of the recipient's company, also when it sends evidence: "workspace". Amdahl takes the company's name or domain from what it reads about the recipient you send, or from the context pack. A company named only in facts does not count, and without a context pack neither does one that only you typed in recipient. A conversation is that company's when the domain matches, or the name matches where either side has no domain. A mailbox domain such as gmail.com names no company. When Amdahl finds no conversation of that company, the message still comes back and evidence says used: false with reason: "not_relevant". This rule is about the read of your conversations. The brief quotes that go with a recipient can include buyers like them, and the evaluation can still use those.
With evidence off, those four dimensions are not evaluated at all: they drop out of the score rather than counting as zero, and nothing is read from your conversations. With "workspace" on a workspace that has no conversations yet, or in an environment that does not read them, the run is evaluated as with "off" and still succeeds; the response's evidence field says which happened. Pass "workspace" to keep the behaviour this operation had before evidence became a per-call choice.
The ask. On an evaluation of style alone, Amdahl prefers a close the reader can answer in one line, asking whether the problem is real for them, over a request for a meeting. If a meeting ask is what you want, put it in rules, inside context, for example "Ask for a 15-minute call next week." A rule about the ask decides it: the message closes the way your rule says. If no version keeps every rule, the one with the fewest failures comes back with incomplete: true, and failed_rules names the checks it fails. Check incomplete before you send the message.
With connected conversations, Amdahl also evaluates every claim against your customers' own conversations. It lists the claims in the message that nothing in those conversations and none of your facts back, in unsupported_claims, and by default keeps them in the message rather than cutting them. Without connected conversations, claims are not evaluated against your customers' conversations, and unsupported_claims is null.
To evaluate a draft as it is, with no rewrite, use mode: "grade". An evaluation runs Amdahl's evaluation model once over the five rubric lines and writes nothing. What an evaluation measures says what a score can and cannot tell you.
Monthly cap
Each call made with an API key or an external OAuth token that returns a result (ok: true) counts toward a monthly cap of 1,000 per workspace. A call that failed does not count. Past it, the call returns 429 quota_exceeded with the family, limit and usage in details, and nothing is written. The cap resets at the start of the next month; ask Amdahl support to raise it. Calls from the Amdahl console do not count. A workspace on Pro with a saved card has no monthly cap: its monthly spend cap, and the spend cap of each API key that has one, limit its usage instead.
A batch counts the same way, one item at a time: each item that comes back with a result counts once, and an item that failed does not count.
Running several at once
Each workspace has two limits on the Outbound call. They count every call for the workspace together: every API key, every connector session and the Amdahl console.
| Limit | Value | details.reason when refused |
|---|---|---|
| Outbound calls running at the same time | 3 | workspace_in_flight_limit |
| Outbound calls started in any 60 seconds | 12 | workspace_rate_limit |
A call over a limit is not refused immediately. It waits in line for up to 15 seconds, and runs if a place frees in that time. A call from the MCP outbound_message tool waits for up to 2 minutes, because an agent in a chat cannot schedule a retry. If no place frees, the call returns 429 rate_limited, and nothing is written:
{
"data": {
"ok": false,
"success": false,
"error": {
"code": "rate_limited",
"message": "This workspace already has 3 drafts being written, the most it may run at once. Nothing was rewritten. Wait 18 seconds, then send this draft again.",
"details": {
"reason": "workspace_in_flight_limit",
"retry_after_seconds": 18,
"limit": 3,
"in_flight": 3
}
}
}
}The response carries a Retry-After header with the same number of seconds. Wait that long, then send the same request again. For workspace_rate_limit the wait is exact. For the other reasons it is an estimate of when a running call finishes, so a retry can be refused again: wait again. A workspace that already has six calls waiting gets the 429 immediately. A refused call does not count toward the monthly cap.
The Outbound call also has a limit across all workspaces. When it is full, a free place goes to the workspace with the fewest calls running, so one workspace's batch does not hold up another workspace's single call. A call that waits its full time without a place is refused the same way, with details.reason: "optimizer_busy" and no limit or in_flight. Handle all three reasons the same way.
When Outbound is unavailable
When the Outbound service fails 5 requests in a row inside one minute, Amdahl stops sending calls to it for 30 seconds. A failed request is one that got no answer, or an answer with a 5xx status. A call in those 30 seconds is refused immediately: it does not wait in line and it does not reach the Outbound service. The refusal is the same 429 rate_limited, with details.reason: "optimizer_unavailable", and retry_after_seconds and Retry-After are the time that is left (30 seconds or less).
After the 30 seconds, one call goes through as a test. If the Outbound service answers it, all calls go through again. If it fails, calls are stopped for another 30 seconds. While the test call is running, other calls are refused with a wait of 5 seconds.
When you run a list of drafts and get optimizer_unavailable, stop the list. Wait retry_after_seconds, send one draft, and continue only when it succeeds. A refused call is not billed.
The first failures, before calls are stopped, come back as optimizer_error or optimizer_timeout (see When ok is false).
When the recipient's data is too slow to read
A call that sends recipient makes Amdahl read the workspace's calls and CRM about that person and their account. Each read has a time budget. If a read runs out of time, Amdahl keeps what it already read and reads the missing parts again once with a fresh budget. If a part is still missing, the call writes nothing and returns 429 rate_limited with error.details.reason: "recipient_evidence_unavailable". error.details.unavailable lists what could not be read, in words, and retry_after_seconds is 30. The call is not billed. Send the same request again after the wait. A part that fails for another reason, such as a read error, does not refuse the call: the message is written from what was read, and the missing part is listed in brief.notes.
A batch item in this state is tried again, like an item that met optimizer_error, and fails with the same reason after its 3 tries.
A batch is not refused. While the Outbound service is down its queued items stay queued, they do not fail, and the time does not use one of an item's 3 tries. They run when the Outbound service answers again.
The same request twice is one run. If you send a request identical to one that is still running (same sender, same draft, same options), you get the result of the first: the draft is not rewritten twice and the second request uses no extra place. A repeat after the first finished returns the stored result. So it is safe to retry a call that timed out on your side.
For a list you have in hand, do not loop over this call: send the list as a batch (up to 500 in one request), a small test included. The one exception is a first run in a chat where a person reads each result with its tries: up to 10 single calls, one at a time. A lead that arrives on its own, such as one step of a pipeline, is one single call. A batch is not held to these limits and is never refused as busy. Write a campaign has a script for it.
Batches: many drafts in one request
messages.optimize_batch takes a list of drafts and returns a batch_id at once. The drafts run later, each one exactly as a single messages.optimize does, and you read the results from the batch.
Use a batch for a list you have in hand or a campaign, including a small test batch before the rest. A 300-email campaign sent as single calls is mostly 429s. Sent as a batch, it is one 202.
How a batch is scheduled:
- A batch is never refused as busy. The limits above (3 at once, 12 a minute, the 15-second wait) do not apply to it. Its items wait in a queue until there is a place for them.
- Single calls go first. Batch items run only on Outbound capacity that single calls are not using, and part of that capacity is never given to batches. So a running batch does not slow a single call, yours or another workspace's.
- Batch items do not use your workspace's 3 at once or 12 a minute. You keep your whole allowance for single calls while a batch runs.
- Workspaces take turns. When more than one workspace has a batch queued, the next free place goes to the workspace with the fewest batch items running. Another workspace's 300-item batch puts about 5 items ahead of your 5-item batch, not 300.
A batch therefore has no promised finish time. The status gives an estimate.
Submit a batch
curl -s -X POST https://app.amdahl.ai/api/platform/v1/messages/outbound/batch \
-H "X-API-Key: $AMDAHL_KEY" -H "Content-Type: application/json" \
-d '{
"idempotency_key": "q4-launch-step-1",
"items": [
{ "item_id": "lead-001", "channel": "email",
"context": { "facts": ["Sam Ortiz is Head of RevOps at Brightpath.", "Brightpath moved to Salesforce in August."],
"rules": ["Ask for a 15-minute call."] } },
{ "item_id": "lead-002", "channel": "email",
"context": { "facts": ["Priya Shah is VP Sales at Northwind Labs.", "Northwind is hiring six SDRs this quarter."],
"rules": ["Never mention pricing."] } }
]
}'| Field | Required | What it is |
|---|---|---|
items | Yes | 1 to 500 messages. Each item is the body of one single Outbound call, with every field it takes and the same limits and defaults as in Request: context, message, channel, evidence, on_unsupported, on_missing_input, include_tries, and the recipient fields. A field a single call refuses is refused in an item for the same reason, with the item's path ($.items[3].channel). Results come back in this order. |
items[].item_id | No | Your own id for the item, up to 200 characters, unique within the batch. It comes back with the item's result, so you can match results to rows without counting. |
idempotency_key | No | Up to 200 characters. Send it to make a retry safe: see below. |
webhook_url | No | REST only. An https URL that gets one signed POST when the batch completes: see Completion webhook. |
An unknown field in the body or in an item is refused with 400, and the error names its path ($.items[3].chanel). The recipient fields work in an item as on a single call. Each item's recipient is resolved and briefed when the item runs, and its result carries the same recipient_received, evidence_run_id, profile and brief a single call returns. A valid recipient field is accepted on every workspace and is never named in ignored_params. In a batch sent with X-Amdahl-As-Of, an item's recipient is refused with 400 invalid_input on every workspace: the batch does not keep the as-of time, so it cannot build the item's brief at that time. Send that draft as a single call. On a workspace that sends a context pack the whole batch is refused the same way, because every item's pack would be read after that time. The whole request body is limited to 1 MB, so a campaign with many facts or long voice examples may need more than one batch.
The answer is 202 Accepted:
{
"data": {
"ok": true,
"replayed": false,
"batch_id": "0d0f8c0e-6f0b-4a53-9a43-2f6d1f1f5b0a",
"status": "queued",
"created_at": "2026-10-14T09:00:00.000Z",
"completed_at": null,
"counts": { "total": 300, "queued": 300, "running": 0, "done": 0, "failed": 0 },
"queue_position": 0,
"eta": {
"seconds": 3215,
"estimate": true,
"items_ahead": 0,
"median_run_seconds": 75,
"slots": 7
},
"console_url": "https://console.amdahl.ai/acme/optimizer?batch=0d0f8c0e-6f0b-4a53-9a43-2f6d1f1f5b0a"
}
}console_url opens this batch in the console. Opening it asks the person to sign in first. It carries no token, only the batch id. The list opens for the person who submitted the batch: another member, or another workspace, gets the same not-found answer as an unknown id. A workspace without a console address gets no console_url.
When an item has evidence: "workspace" and the workspace has no connected source, the answer also carries setup_needed with a message and a connect_url for the user. The batch is still queued, and those items are rewritten without customer evidence. Each of those items also carries setup_needed in its result, as a single call does. See A workspace with nothing connected.
Retrying a submit. If you send idempotency_key and the request times out on your side, send the same request again. The same key with the same items and webhook_url returns the first batch with replayed: true and queues nothing new. The same key with a different body is refused with 409 conflict. A key belongs to one user of one workspace. Without a key, every submit is a new batch.
What can refuse a batch. Never capacity. Each of these queues nothing:
| Status | error.code | When | What to do |
|---|---|---|---|
400 | invalid_input | The body does not validate. error.details.errors lists each path. | Fix the request. |
429 | quota_exceeded | The batch is larger than what is left of the monthly cap, after the items you already have queued. error.details carries limit, used, pending, requested and remaining. | Send at most remaining drafts, or ask Amdahl to raise the cap. |
429 | rate_limited, with details.reason: "batch_backlog_limit" | The workspace would have more than 5,000 batch items queued or running. | Wait for an earlier batch to finish. There is no Retry-After: a short wait does not fix it. |
409 | conflict | The idempotency_key was used for a different body. | Use a new key for a new batch. |
424 | optimizer_unconfigured, batch_unavailable | The Outbound service, or the batch queue, is not available in this environment. | Contact Amdahl. |
Read a batch
curl -s "https://app.amdahl.ai/api/platform/v1/messages/outbound/batches/$BATCH_ID?status=done&limit=100" \
-H "X-API-Key: $AMDAHL_KEY"| Query | What it does |
|---|---|
limit | Items per page, 1 to 100. The default is 50. |
cursor | The next_cursor of the page before. Omit it for the first page. |
status | Return only items in one state: queued, running, done or failed. Omit it for every item, in the order you sent them. |
wait_ms | Hold the read until the batch is completed, for up to this many milliseconds (at most 45000), then return the same body. Omit it to read at once. |
only_finished | true returns only done and failed items, with finished_cursor and finished_remaining. limit applies; cursor and status are ignored. |
finished_since | The finished_cursor of an earlier read. Returns only the items that finished after that read. Implies only_finished. |
{
"data": {
"batch_id": "0d0f8c0e-6f0b-4a53-9a43-2f6d1f1f5b0a",
"status": "running",
"created_at": "2026-10-14T09:00:00.000Z",
"completed_at": null,
"counts": { "total": 300, "queued": 251, "running": 7, "done": 41, "failed": 1 },
"queue_position": 0,
"eta": {
"seconds": 811,
"estimate": true,
"items_ahead": 0,
"median_run_seconds": 22,
"slots": 7
},
"items": [
{
"index": 0,
"item_id": "lead-001",
"status": "done",
"result": { "ok": true, "outcome": "rewritten", "rewrite": "Hi Sam, ...", "message": "Hi Sam, ...", "summary": "...", "unchanged": false }
},
{
"index": 1,
"item_id": "lead-002",
"status": "failed",
"result": { "ok": false, "reason": "optimizer_timeout", "detail": "Outbound did not answer within 300s. Nothing was rewritten." }
},
{
"index": 2,
"item_id": "lead-003",
"status": "running",
"result": null,
"started_at": "2026-10-14T09:12:40.000Z",
"stage": "rewrite"
},
{ "index": 3, "item_id": "lead-004", "status": "queued", "result": null },
{
"index": 4,
"item_id": "lead-005",
"status": "queued",
"result": null,
"next_attempt": 2,
"max_attempts": 3,
"next_attempt_at": "2026-10-14T09:13:10.000Z"
}
],
"next_cursor": null
}
}| Field | What it is |
|---|---|
status | queued (no item has started), running, or completed (every item has settled). A completed batch can hold failed items: read counts.failed. |
counts | How many items are queued, running, done and failed, and the total. |
queue_position | An estimate: how many queued items, in any workspace, are expected to start before this batch's next one. 0 when none of its items is waiting. |
eta | An estimate of the seconds until the last item finishes. null once nothing is left to run. |
items[].index | The item's place in the list you sent, from 0. |
items[].item_id | Your own id for it, or null if you sent none. |
items[].status | queued, running, done or failed. |
items[].started_at | Only on a running item: when its current attempt started. Each new attempt gets a new time. |
items[].stage | Only on a running item: the step its run reached last, read, score, rewrite or check. null when the step is not known, for example in the first seconds of a try. It can stay null for a whole try, so use it to show progress, not to decide anything. |
items[].chain_node | Only on a running item, and only when its run reports one: the part of the writing chain it is on, w1 plan, w2 write, w3 claim check, w4 judge, w5 repair, w6 second judge or w7 message. The key is left out when the part is not known. Use it to show progress, not to decide anything. |
items[].reasons | Only on a running item, once its run reports them: up to 5 short reasons from the latest step that gave any. Use them to show progress, not to decide anything. |
items[].checks | Only on a running item, once its run reports them: each check of the latest step that gave any, as name and passed. Use them to show progress, not to decide anything. |
items[].found | Only on a running item, once its run reports them: the read counts, which say how much Amdahl read about the recipient. deals and conversations (calls, meetings and email threads) of the recipient's account, account_quotes of that account, pains of buyers like the recipient, proof_points, and quotes the message is judged against. Numbers only. A count that is left out is unknown, not zero. Use them to show progress, not to decide anything. |
items[].next_attempt | Only on a queued item whose last attempt failed: the number of the attempt that comes next, counted from 1. |
items[].max_attempts | With next_attempt: the most attempts one item gets. |
items[].next_attempt_at | With next_attempt: the earliest time that attempt may start. A busy queue starts it later. |
items[].result | null until the item has run. Then it is exactly what a single Outbound call returns for that draft, with every field in Response: read a batch item and a single call with the same code. A failed item's result also has retryable: see Submit failed items again. |
next_cursor | Send it as cursor for the next page. null on the last page, and always null with only_finished. |
finished_cursor | With only_finished: every finished item returned so far. Send it as finished_since on the next read. |
finished_remaining | With only_finished: finished items not returned yet because of limit. Read again with finished_since to get them. |
A failed item has ok: false with a reason, a detail and retryable, as in When ok is false. The reasons are optimizer_timeout, optimizer_error and optimizer_unconfigured, and three more: no_message, when a check refused every version the item's run wrote (send the item again with more context), quota_exceeded, when the workspace reached its monthly cap before that item ran, and read_timeout, when the item was waiting for a turn to read the workspace's data and those reads stopped moving. An item the Outbound service could not finish goes back in the queue, and fails after 3 attempts in all. A queued item then shows next_attempt, max_attempts and next_attempt_at. An item whose request the Outbound service refused (an HTTP 4xx answer other than 408 and 429) is not tried again: it fails at once with optimizer_error and retryable: false. An attempt while Outbound is unavailable is not one of the 3: the item goes back in the queue. A wait for a turn to read the workspace's data is not one of the 3 either: the item goes back in the queue as many times as it needs, and it fails read_timeout only when the workspace's reads stop moving for a long time. A failed item has no retry_after_seconds or stop_batch, which a single call's optimizer_error and optimizer_timeout carry: the batch handles the retries of an optimizer_error or optimizer_timeout item itself, and its other items keep running. The recipient fields a batch accepted are never ignored. If stored recipient fields no longer pass the recipient checks when the item runs, the item fails with invalid_input; generate: true fails with not_available. The batch does not retry the other reasons. A failed item with recipient fields keeps what a failed single call returns: recipient_received, evidence_run_id and, with recipient, profile and brief. A draft that was kept is done, not failed: read outcome. An item that sent on_missing_input: "ask" and whose input cannot support the request is done too, with outcome: "needs_input" and the questions in ask, and it does not count toward the cap: add the answers as facts and send that draft again.
Submit failed items again
retryable: true on a failed item means that nothing was written, you were not charged, and the cause was a wait or a fault on Amdahl's side, not the draft. It is true for read_timeout, optimizer_timeout and optimizer_error, except an optimizer_error whose request the Outbound service refused. It is false for that one and for every other reason. To try those items again, send their drafts unchanged in a new batch, a few minutes later:
- Use a new
idempotency_key, or none. The first batch's key returns the first batch (replayed: true) when the items are the same, and409 conflictwhen they are not. Either way nothing new is queued. - You can keep each item's
item_id. It only has to be unique within one batch. - Try once or twice, not in a loop. An item that fails again with
retryable: truepoints at a problem on Amdahl's side: contact Amdahl.
A failed item with retryable: false fails the same way if you send it unchanged. Fix what its reason names first.
Who can read it. The user that submitted the batch, with a credential that has messages:execute. Any other user, any other workspace and an unknown id all get the same 404.
How often to poll. Send wait_ms (at most 45000, and below your client's own timeout) and read again when the call returns: the read answers as soon as the batch completes, so there is no faster loop to write. If the server is already holding as many reads as it can, the read returns at once with a wait_note; wait a few seconds before the next one. A REST client that disconnects, or an MCP client that cancels the call, ends its hold. An unreadable finished_since counts as no cursor, so every finished item comes back at once. A status read is in the read rate class and is not held to the Outbound limits. To collect results as they finish, send only_finished=true on the first read and then finished_since set to the last finished_cursor: the read also returns as soon as a new item has finished, and each item comes back once, also when items finish out of order. Paging status=done with cursor can skip an item that finishes after a later one.
How long results are kept. 30 days after the batch completes. Then the batch and its results are deleted.
The estimate
queue_position and eta are estimates, and eta.estimate is always true. Nobody knows how long a run will take, or how many single calls will arrive and go first.
median_run_secondsis the median run time of the last 50 batch items that finished. Before any has finished, it is 75 seconds, the measured median of a single Outbound call.items_aheadis how many items are expected to run before this batch's last item, not counting its own. It is your workspace's items in older batches, plus the items of other workspaces that take turns with yours.slotsis how many batch items can run at once.secondsismedian_run_secondstimes (items_aheadplus this batch's queued and running items), divided byslots.
Expect the real time to be longer when many single calls are running, and treat the number as a guide for when to poll, not a deadline.
Completion webhook
Send webhook_url and Amdahl sends one POST to it when the batch completes, so you do not have to poll.
- The URL must be
https, must name a public host, and must carry no username or password. A redirect is not followed. - The body carries the batch id and its counts. It never carries a draft or a rewrite: read those from the batch with your key.
- The submit's
202carries the signing secret, once, inwebhook_signing.signing_secret. Store it. No later read returns it. (A replayed submit with the sameidempotency_keyreturns it again.)
{
"event": "optimize_batch.completed",
"data": {
"batch_id": "0d0f8c0e-6f0b-4a53-9a43-2f6d1f1f5b0a",
"status": "completed",
"idempotency_key": "q4-launch-step-1",
"counts": { "total": 300, "done": 298, "failed": 2 },
"created_at": "2026-10-14T09:00:00.000Z",
"completed_at": "2026-10-14T09:21:40.000Z"
},
"timestamp": "2026-10-14T09:21:41.000Z"
}Verify it. The X-Webhook-Signature header is the hex HMAC-SHA256 of the raw request body, with the signing secret as the key. There is no sha256= prefix. The X-Webhook-Event header is optimize_batch.completed. Compute the digest over the exact bytes you received, before you parse them, and compare in constant time:
import hashlib, hmac
def is_from_amdahl(raw_body: bytes, signature: str, signing_secret: str) -> bool:
expected = hmac.new(signing_secret.encode(), raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, signature)Delivery. Answer with any 2xx within 10 seconds. Anything else is tried again, up to 5 times in all, with waits of about 30 seconds, 2 minutes, 8 minutes and 32 minutes between tries. After that the delivery is marked failed, and the results are still on the status endpoint. Delivery is at least once, so treat a second POST with the same batch_id as the same event. A status read shows the delivery under webhook, as state: waiting until the batch completes, then pending, delivered or failed.
Batches over MCP
Two more tools carry batches. outbound_message_batch takes items and an optional idempotency_key and returns the same body as the REST submit. get_message_batch takes batch_id, and optionally wait_ms, only_finished, finished_since, limit, cursor and status, and returns the REST read's body. Over MCP a call with no wait_ms waits up to 25 seconds for the batch to complete (a call with cursor reads at once), so one call stands in for a polling loop. The body has two changes, so that a page fits in one tool result:
- On a page of more than one item, a result's
profileandbriefare summaries:{summarized: true, fields, conflicts, unknowns, message_type}and{summarized: true, status, items, thin}, where each count is the length of that list. The item addsfull_result, the arguments that read that one item whole and at once:{"batch_id": "...", "limit": 1, "wait_ms": 0, "cursor": "<index - 1>"}, with nocursorfor index 0. A page of one item is never summarized. - A page larger than about 60,000 characters ends early.
items_cut_for_sizesays how many items were left off, andnext_cursorreads on from the first of them (withonly_finished, they are left out offinished_cursorand counted infinished_remaininginstead). The first item is always returned.
webhook_url is not available over MCP: poll get_message_batch instead.
From a chat agent
An agent in a chat (Claude, ChatGPT, Cursor) reaches Outbound through the MCP outbound_message tool. These rules keep a session useful. The tool's own description states them too.
- Gather the context first. Before each call, collect what you know about the recipient: who they are, a reason to write now, what the sender offers, and the ask. Send it in
context, and send the person inrecipienton every call where you know them:email,name,companyanddomain, plus anything else you know about them inattributes. A sentence such as "The recipient is Dana" infactsdoes not take its place: onlyrecipientmakes Amdahl look the person up in your own data. Amdahl writes its own draft from that context. It reads the user's own draft for its facts, after the facts you send, and uses its closing ask only when you state none. When the user has a draft, put each point it makes infactsand its exact closing ask inrules. Split the user's request the same way: what the message must or must not do (length, tone, what not to say, the closing ask) goes inrules,max_wordsandkeep_cta, and only what is true about the recipient or the offer goes infacts. A request pasted whole as a fact is written from, so its word limit or "do not mention" can be outweighed. Amdahl saves a draft with the run, so you can compare it with the message later (GET /messages/outbound/runs/{id}). Put what the agent knows infacts, not in a draft of its own. See Context. - A follow-up carries the earlier emails. When the message follows an earlier one (a follow-up, a reply, a second email after no reply), send the earlier emails in
thread, oldest first, withstageandprior_touchesincontext. A rule that only says "this is a follow-up" gives the writer nothing to follow up on. See Follow-ups and replies. - One sender company. The facts about the sender name the company the message is sent from, and no other.
- A list is one batch, never a loop. For a list it has in hand, the agent queues the whole list with the
outbound_message_batchtool (up to 500 items) and reads it with theget_message_batchtool. This works in a chat too. A batch is not held to the limits below, and its finish time is an estimate. A chat agent that loopsoutbound_messageover a list writes one message per call, so a long list takes hours. To check quality first, it sends 3 to 5 as a small batch, then the rest. The one exception is a first run in a chat where a person reads each result with its tries: up to 10 single calls, one at a time. A lead that arrives on its own, such as one step of a pipeline, is one single call. - Single calls: never more than 3 at once. The limits count every user and key of the workspace together. From the third single call by the same caller in 15 minutes, the result carries
batch_hint. A result that carriescontext_hintnames a field the call left out: send it on the next call. rate_limited: wait, then send the same request. The wait iserror.details.retry_after_seconds. Whenerror.details.reasonisoptimizer_unavailable, Outbound is unavailable: stop the batch, tell the user, and send one request after the wait.optimizer_errororoptimizer_timeout: stop the batch. The other drafts would fail the same way. Tell the user. Try one request again afterretry_after_secondswhen the response carries it, or after at least one minute. Do not send the next one and do not retry in a loop.- Say the close in a rule. By default the message can close with a question the reader can answer in one line. When every message must close the same way (for example, it offers to send detail and never asks for a call), say it in one of the
rulesinsidecontext. See Constraints. - A thin message means thin context. When the message is generic, add facts and run it again. The same context with the same options returns the same result, and it can count toward the monthly cap again. Do not invent a detail to get a different result.
- Email and LinkedIn only. A call script or other copy is not a channel. Do not ask for one as an email.
- With no connected data, Amdahl evaluates style alone. The Outbound call needs no data, and then Amdahl evaluates no claim against your customers' own conversations. An evaluation on such a workspace still runs: its four evidence lines abstain and only
cta_clarityis evaluated. - Show the result as returned, and have a person read it before it is sent.
Request
{
"channel": "email",
"context": {
"facts": [
"Jordan Lee is Head of Platform at Corvid Health.",
"Corvid shipped SSO last month, per their changelog.",
"Met Jordan at the GTM dinner on Sep 24; he said his SDRs rewrite every AI draft.",
"We automate user provisioning after SSO. Helix, a 300-person health tech company, cut provisioning tickets by 70%."
],
"rules": ["Ask for a 15-minute call next week.", "Never mention pricing."],
"max_words": 80,
"banned_phrases": ["just", "reaching out"],
"voice_examples": [
"Hey Priya - congrats on the Series B. Are you still running onboarding by hand? Happy to share what worked for a team your size."
]
}
}| Field | Required | Notes |
|---|---|---|
context | yes, in practice | What the message is written from: an object holding any of the keys below. A key that is not in the list is refused. The message is only as specific as what you put here. See Context. |
recipient, recipient_notes, message_type | no | Who the message is for. Send recipient with email, name, company and domain whenever you know them: with it, Amdahl adds what it finds in your own data. A field with the wrong shape is refused with 400 invalid_input. See Recipient fields. |
content_spec | no | Beta, per workspace: what is being written (stage, sequence step, objective and more). Ignored, never refused, unless your workspace has quality v2 turned on: the response names it in ignored_params. See Message type. |
channel | no | email or linkedin. It sets the length and format the message is written and evaluated for. Send it: with no draft to read, there is nothing to infer it from. |
evidence | no | workspace or off. Unset, it is workspace when the deployment reads your conversations and the call sends a draft in message that is not blank, or sends no draft and names a recipient company. Otherwise it is off. A call that writes as a sender outside your workspace always runs as off. workspace also evaluates the message against your workspace's synced customer conversations (the four dimensions above, and slower); off is the fast evaluation of style alone. Any other value is refused. |
on_unsupported | no | What to do with a claim in the message that nothing in your conversations backs and no fact states, so it acts only with evidence: "workspace": flag (the default) keeps it and lists it in unsupported_claims, remove lets the writer soften or cut it. See Claims nothing backs. |
on_missing_input | no | What to do when your input cannot back everything the message should say. best_effort (the default) writes the best message your input supports, leaves out what it cannot back and lists it in omitted. ask writes nothing it would have to guess at and returns outcome: "needs_input" with the questions in ask. See When the input cannot back everything. |
include_tries | no | true to also get tries: every version the run scored or checked, so you can show how it moved toward the one that came back. It also returns chain (the steps of the writing chain) and reason_rung (where the opener reason came from), which come back only with include_tries. Default false, which leaves the response exactly as below without it. See Reading tries. |
mode | no | improve (the default) writes or rewrites the message, as this page describes. grade evaluates the draft in message and writes nothing: the result has no message, only grade and disclosures. An evaluation needs message, and is refused with 400 invalid_input when it also sends include_tries: true or on_missing_input: "ask". See Evaluate a message. |
message | no | Your own draft, up to 10,000 characters. Amdahl writes its own draft from context and reads this one for its facts. Its facts come after your facts, and its closing ask is used only when no rule or Ask: fact states one. Its sign-off name signs the message, and its opt-out line and a greeting with a merge tag are kept as written. Put each point you want made in facts and your exact closing ask in rules. The response carries a draft_used_for_facts or draft_not_read note with the developer audience. With mode: "grade", the draft is the text that is evaluated. |
A request with no message and no usable context or recipient has nothing to write from. It is refused with 400 invalid_input, and details.errors names the context to send.
Inside context:
| Key | Notes |
|---|---|
facts | What the message is written from: who the recipient is, why you write now, what you offer and the proof you may cite, one fact per entry. Evaluated as caller-supplied evidence, never as a customer quote: see Facts. Up to 10, each up to 1,000 characters. |
rules | Hard constraints the message must follow, like "never mention pricing" or "ask for a 15-minute call". They are instructions, not copy: never quoted in the message. A version that breaks one gets one more try, told which rule it broke. If no version keeps every rule, the closest one comes back with incomplete: true. A rule can also be an object, { "text": "...", "strict": false }: see Soft rules. Up to 20, each up to 500 characters, both forms counted together. |
voice_examples | Messages the sender wrote themselves. The message matches their voice and does not copy their words. Up to 5, each up to 4,000 characters. Two to four give the message the sender's voice. Two or more are also learned into the sender's voice and stored for that sender and channel, so a later call with the same examples reads it back. Other examples are learned again. A voice Amdahl learned from the sender's sent mail is kept and used instead. Examples sent in a sender who is not a member of the workspace are used for that call only. With none, and no voice stored for the sender, the result carries a notes row with audience: "sender" and code: "no_voice_used" that says the message is not in their voice. |
keep_cta | true, false or "strict". true holds the closing ask you state: a rule that orders it, or a fact that starts Ask:. With no stated ask, it holds the closing ask read from your draft. With neither, it does nothing, and the response's ignored_params names it. "strict" keeps the draft's closing ask word for word, also when the draft is sent with facts or rules. Any other value is refused with 400 invalid_input. See Constraints. |
stage | Where the sender stands with the recipient: cold, engaged, active_deal, customer, closed_lost or new_user. Past cold, the message is written as the next one to someone the sender knows, not a first touch. |
prior_touches | Earlier touches with this recipient, each { "on": "YYYY-MM-DD", "channel"?, "summary" }, where channel is email, linkedin, call, meeting or other and summary says what happened in up to 500 characters. Up to 50. The message is written from the newest 10 by date, and the count and the days since the newest touch use all of them. The message may refer to them and is written as a follow-up. Send them, with stage, whenever the sender has been in touch with the recipient before. The list is what counts: content_spec.sequence.prior_touches is taken from it, and a call that also sends that count with a different number is refused with invalid_input. Where the Outbound service does not read them yet, the response lists them in ignored_params. If you do not send them, Amdahl adds the earlier messages it wrote to this recipient: when the call sends no prior_touches, no thread and no content_spec.sequence, each message that your workspace's earlier Outbound calls returned for the same recipient, and that was sent, becomes one touch, newest first, up to 50. A message was sent when you reported it with messages.report_send, or when a connected sequencer reported a send, a reply, a bounce or an unsubscribe that Amdahl matched to its call (by the recipient email and the time, from the 14 days before the send). A message that nothing shows as sent is never added, so writing again to a recipient you have not emailed gives a first touch. Only the 200 newest Outbound calls for the recipient are looked at. A call that names recipient.email is matched by that email only. A call that names no recipient.email is matched by the recipient's name and company: recipient.name with recipient.company (or recipient.domain), else a fact that says who the recipient is, such as "The recipient is Jane Doe, Owner, Doe Tax Group." or "I am writing to Jane Doe at Doe Tax Group.". Case, punctuation, titles such as CPA and company forms such as LLC or Inc do not change the match. A fact that says who the recipient is wins over one that says who you are writing to. A name with no company, a first name alone, a company such as "Self-employed" and a free email domain such as gmail.com are never matched. An earlier call that named a recipient.email is found only by that email. Its on is the day it was first sent, its channel is the channel it was written for, and its summary is the message with email addresses, phone numbers and profile links taken out, cut to 500 characters. Nothing is added from messages written for another workspace or written as a sender outside your workspace, and nothing is added to a call with mode: "grade" or with such a sender. To write a first message with none, send content_spec.sequence with step: 1. The response then carries a developer note with code earlier_messages_added, which says how many it added, from which Outbound runs, and whether it matched them by name and company. What you send always wins: Amdahl never adds to your own prior_touches or thread. |
story | The sender's story for this one message, in place of the story your workspace approved: value_story (each { "text", "pain"?, "persona"? }), offers, differentiation and audience (each { "text" }), and proof (each { "text", "disclosure"? }, where disclosure is anonymized, the default, or aggregate). Up to 20 lines in a list, each one sentence of up to 1,000 characters with no email address or LinkedIn profile link. It is held to the same rules as the approved story, and it changes nothing stored. Read the approved story first with GET /story-seed (MCP: get_story). To change the approved story itself, save a version with POST /story-seed/versions (MCP: save_story) and have an admin approve it with POST /story-seed/versions/{version}/approve (MCP: approve_story). Where the workspace does not read it yet, the response lists it in ignored_params. |
offer | What this one message offers the recipient, in the sender's words, up to 1,000 characters. For this message it wins over the offers stored for your workspace. Where the workspace does not read it yet, ignored_params names offer. |
thread | Earlier messages between the sender and the recipient, oldest first, up to 10. Each has direction (sent or received), sent_at and body (up to 4,000 characters), and an optional channel and author. Where your workspace does not read thread into its context, each message is sent as a prior_touches entry instead: on is its sent_at day (UTC), channel is its own or the call's, and summary is the body of a message you sent, or The recipient replied: and the body of a reply, with email addresses, phone numbers and profile links taken out, cut to 500 characters. A message on the same day and channel as one of your own prior_touches is not added again, so your summary stands for it. ignored_params names thread only when the Outbound service reads neither. |
triggers | Reasons to write now that you found, up to 20. Each has rung: "R1", a one-word kind (such as post or funding), about (person or company), text and a source tag (such as caller or public:linkedin). Off unless it is turned on for the workspace. Where it is off, ignored_params names triggers. |
max_words | The most words the message body may have, from 10 to 1,000. A body up to 3 words over this number still passes. A shorter body does not break the limit. An email aims for about 80 to 100 percent of it. To ask for a minimum, put it in a rule such as "at least 60 words". See Constraints. |
banned_phrases | Words or phrases the message must never use, such as "just" or "reaching out", matched as whole words in any case. Up to 30, each up to 60 characters. See Constraints. |
banned_punctuation | Punctuation the message must never use: any of colon, semicolon, exclamation. A colon inside a time such as 2:30pm or a link does not count. See Constraints. |
Each entry is trimmed and a blank entry is dropped rather than refused, before anything is counted or measured: the limits apply to what is left. A context with nothing left in it is not sent at all.
Follow-ups and replies
A follow-up is written from the emails it follows. Send them, or the writer has nothing to follow up on and the message reads as a first touch.
- Put the earlier emails in
threadincontext, oldest first. Each hasdirection(sentorreceived),sent_atandbody. - Set
stageincontextto where the sender stands with the recipient:coldwhile the recipient has not replied,engagedafter a reply, oractive_deal,customer,closed_lostornew_user. Acoldmessage withprior_touchesis still written as a follow-up. - Add
prior_touchesincontext: each earlier email, call or meeting as{ "on", "channel", "summary" }. For an email, put its text insummary(up to 500 characters). - Send
recipientas on every call. - Keep one sender company. The facts about the sender name the company the message is sent from, the same company as the earlier emails. Facts about the recipient go in
facts, and what the message must do (length, tone, the ask) goes inrules.
{
"channel": "email",
"recipient": {
"email": "[email protected]",
"name": "Dana Whitfield",
"company": "Northwind Labs",
"domain": "northwind.example"
},
"context": {
"thread": [
{
"direction": "sent",
"sent_at": "2026-11-18T15:02:00Z",
"body": "Hi Dana, saw Northwind opened a Denver office. We help new sales teams ramp in half the time. Worth a short call next week?"
}
],
"stage": "cold",
"prior_touches": [
{ "on": "2026-11-18", "channel": "email", "summary": "Hi Dana, saw Northwind opened a Denver office. We help new sales teams ramp in half the time. Worth a short call next week?" }
],
"facts": ["Northwind posted four SDR roles for Denver this week."],
"rules": ["A short follow-up to the email in the thread, under 60 words.", "Ask for a 15-minute call."]
}
}The earlier email got no reply, so stage stays cold and thread and prior_touches carry the history. Where your workspace does not read thread into its context, each message in it is sent as a touch, unless one of your prior_touches has the same day and channel: send both. When a call says it is a follow-up in its rules or facts but sends none of thread, prior_touches or a stage past cold, the response carries context_hint with the fields to send. If you send no thread, no prior_touches and no content_spec.sequence, and the call names recipient.email or the recipient's name and company, Amdahl adds the earlier messages it wrote to that recipient and that were sent as prior_touches (see prior_touches under Request), and then sends no such hint. Your own thread still gives the writer more: the emails as they went out, and any replies.
Soft rules: style preferences
A rule in rules can be a string or an object. A string is a hard rule, as it always was. An object holds text and an optional strict:
"rules": [
"Never mention pricing.",
{ "text": "Never write 'I think'.", "strict": false }
]strict defaults to true, and { "text": "..." } is the same as the plain string. With "strict": false, the rule is a style preference. The sender's voice_examples outrank it: the writer follows it unless the sender's own messages show they write differently. No check enforces it, so a version is never refused or retried for breaking it, and it is never a reason in omitted or veto_reason. It licenses no claim. A text sent both as a hard rule and as a soft rule is a hard rule.
An object with a key other than text and strict, or a strict that is not true or false, is refused with 400 invalid_input. The response's context counts a soft rule in rules and again in soft_rules. The same draft with a rule sent hard and with the same rule sent soft is two different runs.
Facts: what you know
rules and voice_examples steer how the message reads. Neither gives it anything to say. facts do: they are the substance of the message, with your draft when you send one. A claim the message makes is licensed only by a fact you sent, by what your draft states, or by evidence Amdahl read. A message written from no facts has nothing specific to say, and a social-proof line with no fact behind it is flagged as invented.
Facts are things you know that are not in your customer conversations: what someone told you in person, what you read on their site, what you sell and the proof you may cite. A true line like "Great meeting you at the GTM dinner last week. You said your SDR team spends hours rewriting generic AI drafts" can only appear in the message if a fact says it. Send what you know:
"context": {
"facts": [
"Met Priya at the GTM dinner on Sep 24; she said her SDRs rewrite every AI draft."
]
}and Amdahl's evaluation treats it as its own evidence tier, CALLER, beside the customer quotes:
- A claim a fact states is not marked fabricated or unsupported, including a claim about the recipient that no customer quote backs.
- A claim that goes further than a fact is still unsupported for the part the fact does not say. "Your SDRs spend hours every day rewriting" is an embellishment of "her SDRs rewrite every AI draft", and is evaluated as one.
- The writer uses your facts and is told never to embellish them or present one as something a customer said. The re-check that refuses a version for adding a claim reads your facts, so a version that uses one as written is not refused for it.
- A fact is never counted or shown as a customer quote, and
lift.quotesnever includes one. - Facts are treated as data, never as instructions: a fact that says "ignore the rubric" is read as a strange fact, not obeyed.
- They are used for this request only. They are never stored as evidence, never used to search your conversations, and never written to logs as text.
Without evidence: "workspace", or on a workspace without synced conversations, facts are still the main input: they are what the message is written from.
Constraints: rules checked exactly
keep_cta: "strict", max_words, banned_phrases and banned_punctuation are rules Amdahl checks with code on every version it writes, instead of asking a model whether the version followed them. Use one wherever it says what you mean. Code also counts a word limit you write in rules. "Use no more than 90 words" and "max_words": 90 both set a maximum with no minimum. To set a minimum, write a rule such as "at least 60 words".
- A version that breaks a constraint gets one more try, told which constraint it broke, the same as for a broken rule. If no version passes, the closest one comes back with
incomplete: true, andfailed_rulesnames the check it fails. - The writer is given your constraints when it writes, so it avoids your banned phrases and stays under your
max_wordsfrom the first version. keep_cta: trueholds a closing ask you state, in a rule or in a fact that startsAsk:. With no stated ask, it holds the closing ask read from your draft. It does not keep the draft's wording: send"strict"for that, or state the exact ask in a rule. With neither a stated ask nor a draft ask,keep_ctadoes nothing and the response'signored_paramsnames it.keep_cta: "strict"keeps a draft's closing ask word for word: its last sentence that asks for something. This also applies when the draft is sent with facts or rules. The message ends on that sentence, unless a rule orders a different ask. Then the message ends on the rule's ask and still holds the draft's sentence word for word. Code checks the message that is returned. If a version changes the sentence, Amdahl puts the sentence back before it returns the message. The sentence's words count towardmax_words, and Amdahl never cuts the sentence to fit the limit. If the sentence puts the message overmax_words, the message still comes back, andomittednames the limit. With no draft, or a draft with no sentence that asks for something, there is nothing to keep: say the ask in a rule.
Claims nothing backs: on_unsupported
Only when the run read your conversations (evidence: "workspace" and evidence.used is true), Amdahl's evaluation also names each claim in the message that no customer quote it read supports and no fact you sent states. A claim a fact states is not listed; a claim that goes further than a fact still is.
flag, the default: a listed claim stays in the message and is listed inunsupported_claims, so you can check it before you send.remove: the writer softens or cuts the listed claims. Numbers inside a listed claim may go with it.
Neither mode changes the evaluation. A claim nothing backs still fails grounding, and lift is measured the same way. While a listed claim is still in the returned message, summary never says the message is ready to send. It says how many claims nothing in your conversations backs, and to check them before sending. It names no field, because the sender sees summary as written. The claims themselves are in unsupported_claims.
The mode is echoed back as on_unsupported on every result.
When the input cannot back everything: on_missing_input
A rule can ask for something your facts do not give, for example "Mention our customer count" with no fact that states it. Amdahl never makes the missing part up. on_missing_input decides what it does instead:
best_effort, the default: Amdahl writes the best message your input supports and leaves out each part it cannot back. Each part it left out is listed inomitted, with a plain reason. You always get a message.ask: before it writes, Amdahl checks whether your input can support the request as asked. When it cannot, it writes nothing and returnsoutcome: "needs_input"with the questions inask, in seconds. When the check passes, the run is the same asbest_effort.
In both modes, every message that comes back was checked: every sentence against your facts, your rules and the evidence Amdahl read, and the whole message against your constraints. A sentence that nothing backs is removed, so nothing in it is invented, and there is no unchecked fallback. When the message still does not fully follow a rule, or misses a limit such as max_words, that is listed in omitted too, with why. Use ask when a person can answer questions before the message is sent. Use best_effort (or send nothing) when the call runs without a person.
The mode is echoed back as on_missing_input on every result. Any value other than best_effort or ask is refused with 400 invalid_input.
Message type (beta, per workspace)
content_spec says what is being written. It is in beta and turned on per workspace (quality v2). On a workspace without it, content_spec is ignored, not refused: the message is written as though you had not sent it, and ignored_params names it. A content_spec with the wrong shape (an unknown key, a value that is not in its list) is refused with 400 invalid_input on every workspace. A batch item does not take content_spec. Without quality v2 there is no way to ask for a first email for a recipient Amdahl has already written to: see prior_touches under Request.
{
"message": "Hi Sam, worth a 15 minute chat next week?",
"channel": "email",
"content_spec": {
"stage": "cold",
"sequence": { "step": 3, "prior_touches": 2, "days_since_last_touch": 4 },
"objective": "meeting"
}
}| Field | Notes |
|---|---|
channel | email or linkedin. |
format | message, connection_note, inmail, post or recap. When not sent: message. |
stage | cold, engaged, active_deal, customer, closed_lost or new_user. |
sequence | step (1 to 100), prior_touches and days_since_last_touch, each a whole number or null. When context sends prior_touches, the count and the days since the newest touch are taken from that list, and a different prior_touches here is refused. |
objective | reply, meeting, intro, re_engage, next_step or awareness. When not sent: the usual objective for the stage. |
audience | persona, industry and firmographic_segment, for a message to a segment with no single recipient. |
campaign_id | Your own id for the campaign, up to 200 characters. |
planned_send_at | When you plan to send the message, in ISO-8601 UTC (2026-10-23T18:00:00Z). |
On a workspace with quality v2, every call returns message_type: the type of message the call is, whether or not you sent content_spec. Its key is channel.format.stage.step_band, for example email.message.cold.1 or email.message.cold.2plus. step_band is 2plus when sequence.step is 2 or more or sequence.prior_touches is 1 or more, else 1. Each field comes from the first of these that gives it: your content_spec, then your message_type and channel, then the recipient's relationship with your workspace (with recipient), then a default. message_type.derived names where each field came from (caller, legacy_message_type, crm, sequence, channel_default, stage_default, default or none). The writer does not use message_type yet: the call sends the Outbound service the same request as without content_spec. Because message_type is read here, a workspace with quality v2 does not name it in ignored_params.
Recipient fields
recipient, recipient_notes and message_type say who the message is for. Every workspace takes them. Send recipient with email, name, company and domain whenever you know them. A field with the wrong shape (an unknown key in recipient, notes over the limit) is refused with 400 invalid_input on every workspace. With recipient, Amdahl reads your own data for that recipient and adds what it finds to the message's context. recipient_received and evidence_run_id confirm what the call used. recipient by itself counts as context, so a call with no message is not refused as having nothing to write from. Ask Amdahl to turn on intake use if you want recipient_notes and recipient.attributes to change the profile.
{
"message": "Hi Dana - saw Northwind opened a Denver office. Worth a short call?",
"recipient": {
"email": "[email protected]",
"name": "Dana Whitfield",
"company": "Northwind Labs",
"domain": "northwind.example",
"linkedin_url": "https://www.linkedin.com/in/dana-example",
"attributes": { "Job Title": "VP Sales", "Employee Count": 140, "Hiring SDRs": true }
},
"recipient_notes": "Series B. Said on the webinar they are hiring six SDRs this quarter.",
"message_type": "cold"
}| Field | Notes |
|---|---|
recipient | Any of email (up to 320 characters), name and company (up to 200 each), domain (up to 253), linkedin_url (up to 300) and attributes. Any other key is refused. Send email, name and company when you know them: Amdahl finds the person in your CRM and calls by email, else by name and company, and reads the role from the title your CRM or calls hold. attributes.title sets the role only where the workspace has live intake on. linkedin_url is kept as a fact but finds no one. |
recipient.attributes | A flat map of text, number, true/false or null values: a whole Clay or CSV row fits. Up to 100 keys, each key up to 100 characters, each text value up to 1,000 characters. A key that names a business, user, tenant or workspace id (business_id, user_id, tenant_id, workspace_id, in any case or spelling) is refused: the credential decides who is sending and for which workspace. |
recipient_notes | Free text about the recipient, such as your own research or a pasted CRM note. Up to 10,000 characters. |
message_type | cold, re-engage, follow-up or deal. Use follow-up for a reply in a thread that is in progress. |
With recipient, the Outbound service also receives what Amdahl found: the profile fields it read from your records, the brief with its quotes, and your CRM's notes on the account. The evaluation and the rewrite can use them, each only as far as it goes. See What the Outbound service receives. The response confirms what arrived, gives the run an id of its own, and says who the recipient is:
recipient_received:{ "fields", "attribute_count", "notes_chars", "message_type" }.fieldslists the fields received, such asrecipient.emailandrecipient_notes. Names and counts only, never a value you sent.evidence_run_id: a new id for this run.run_idkeeps its meaning, the Outbound service's own run.profile: who the recipient is, read from your CRM, your calls and company data. Only when you sentrecipient;recipient_notesormessage_typealone give no profile. See The recipient profile.brief: what buyers like the recipient said in your own calls. Only withprofile. See The brief.intake: what Amdahl read from yourrecipient_notesandrecipient.attributes, and from your CRM's notes on the recipient's account: shown and not used, except on a workspace with intake use turned on. Only when there was such text. See Intake (beta).cited_evidence: the quotes from the brief that Amdahl's evaluation cited on the message that came back. Only when the Outbound service received something from the profile or the brief. See What the Outbound service receives.thesis: the shape of a cold message, built from the brief and the facts Amdahl holds. Only when the profile'smessage_typeiscold. See The thesis.fit_for_audience: whether the message that came back addresses a pain or an objection of buyers like the recipient, or the account's own history, from the brief. Report only. Only when the brief holds such a point. See Fit for the audience.
The first two keys appear only when you sent at least one of the three fields with something in it. An empty recipient ({}, or only blank strings) and blank recipient_notes count as not sent: the call and its response are the same as without them. A refusal names the field and the reason, never the value you sent. An attribute is named by its position in the map, counted from 0 in the order you sent it, never by its key (for example $.recipient.attributes[3]: must be at most 1000 characters), because a key can hold personal data. An unknown key inside recipient is named only when it reads as a field name, such as phone; any other unknown key is only counted.
By default, the sender is the user of the credential you called with. An optional top-level sender names another member of the workspace to write as, in their name and voice: { "email" } (their sign-in email, up to 320 characters) or { "name" } (up to 200 characters). A name alone returns 409 ambiguous with the matching members' ids and emails in details.candidates, and no message. A sender who is not a member returns 400 sender_not_found. sender works on every workspace, and it is never listed in ignored_params. See Whose voice it learns.
sender can also describe someone who is not a member of your workspace, such as a customer whose emails your agent writes. Send name and company (each up to 200 characters, both required), with any of domain (their company's web domain), title, offer (what they sell, up to 990 characters), proof (facts about them that the message may cite, up to 5, each up to 990 characters) and voice_examples (messages they wrote, as in context). A sender with any key other than email and name is read this way, and a key not listed here is refused with 400 invalid_input. The message is then written as them, and it signs with their name. Your workspace's company profile, story, guidance rules and learned voice are not read, and neither is the brief from your calls or your CRM history with the recipient. Your conversations are not read to check claims either: the run is evidence: "off" whatever the call sends. Their own company profile is read from domain, or from a domain Amdahl finds for company. It steers the message, and only what you send in offer and proof is stated as their claim. offer counts as the offer in context, so do not send both. It is read whether or not your workspace reads the offer in context, and it counts as one of the facts. proof lines join the facts in context too (10 in all, with the offer), and voice_examples join the voice_examples in context (5 in all). With neither offer nor voice_examples, on_missing_input decides: "ask" returns outcome: needs_input with questions whose field names the offer and the voice_examples of sender, and "best_effort" writes the message and lists the gap in omitted. The response carries ran_as ({ "kind": "outside_sender", "name", "company" }) and a developer note with code outside_sender. Billing, limits and the run stay with your workspace, and feedback on the run teaches no one's voice. Where writing as someone else is not available, the call answers 503 outside_sender_unsupported and nothing is sent; it is never written as you instead. messages.optimize_prompt takes only a member as sender.
Every successful response carries ran_as: who the message was written as. For a member it is { "kind": "member", "name", "company" }, with the member's name and your workspace's name (null when they could not be read).
A message over 10,000 characters, a channel other than email or linkedin, an evidence other than workspace or off, an on_unsupported other than flag or remove, or an on_missing_input other than best_effort or ask is refused with 400 invalid_input. So is a context with a key other than facts, rules, voice_examples, keep_cta, stage, prior_touches, story, offer, thread, triggers, max_words, banned_phrases and banned_punctuation, more entries than its limit, an entry over its character limit, a max_words outside 10 to 1,000 or a banned_punctuation mark not in the list, with the field named in details.errors (for example $.context.rules[3]: must be at most 500 characters); nothing is sent to the Outbound service. An empty message, or one of only whitespace, counts as not sent.
The recipient profile
Amdahl looks the recipient up in this order and stops at the first source that answers each field. A later source only fills a blank:
- what you sent in
recipient; - your CRM: the contact by
email, or, with no email, bynameandcompanytogether, then that contact's company; - your calls: the person by
email, when they spoke on a call; - the company: the CRM company of the contact it found, else by
domain(or by the email's domain, unless it is a free mailbox such as gmail.com), else bycompany, then the company data Amdahl holds from People Data Labs for that domain. Acompanymatches only a CRM company with the same whole name: case, accents, commas, periods and a legal suffix such as "Inc." or "LLC" do not count, so "Acme" finds "Acme, Inc." but never "Acme Widgets"; - your history with that company: its open deal, its last conversation, and whether your workspace has won any deal.
It calls no outside service and no model. It reads only what your credential may see: a member whose data access is limited to some companies gets nothing from the others.
"profile": {
"fields": [
{ "id": "ev_4f1c...", "kind": "fact", "tier": "CRM", "layer": "contact", "field": "title",
"value": "VP Engineering", "source_tag": "crm", "source_ref": "hubspot:contact:501",
"snippet": "", "observed_at": "2026-10-13T16:00:00.000Z", "published_at": "2026-10-01T10:00:00.000Z",
"confidence": "high", "expires_at": "2026-11-12T16:00:00.000Z",
"producer": "recipient.resolver", "producer_version": "1" }
],
"conflicts": [],
"unknowns": [{ "code": "person_not_found" }],
"cohort": { "role_level": "executive", "industry_normalized": "Software & Internet",
"firmographic_segment": "mid_market", "evidence_ids": ["ev_4f1c...", "ev_9a20...", "ev_c3d1..."] },
"rungs_tried": [{ "rung": "crm_contact", "step": "6.2.1", "input_kind": "email", "outcome": "answered", "fields": ["title"] }],
"relationship_state": "active_deal",
"message_type": "deal"
}| Key | Notes |
|---|---|
fields | One evidence record per field: email, name, linkedin_url, title, department and role_level (layer contact); company, domain, industry, industry_normalized, firmographic_segment, employee_count, country, last_touch_at and quotable_utterances (layer account); deal_name and deal_stage of the company's newest open deal (layer deal). Every record has an id and a source_tag that says where the value came from: caller (you sent it), crm (your CRM), inferred:calls (your calls), enrichment:pdl_bulk or enrichment:pdl (People Data Labs) or inferred (worked out from another field, such as the role level from the title). expires_at follows the kind of fact: 180 days for who the person is, 30 for title and employer, 90 for company facts. quotable_utterances measures an email on the words its sender wrote, without the thread it replied to, and reads at most the 20 newest emails of a company: for a company with more, the count is a lower bound, and it is left out when that lower bound is zero. |
conflicts | Values that disagree with the field's value, or with each other, each with its record. Amdahl never merges them. When two sources of the same standing disagree (two CRM records for one email), the field is left out and both are listed. |
unknowns | What Amdahl could not answer, by name: no_identifier (nothing to look up), person_not_found, company_not_found, ambiguous (two people or two companies match, so none was picked), public_off (only a web lookup could answer, and web lookups are not on), no_account_history (the company has nothing it said that a quote could come from, or is not in your CRM) and no_won_deals (your workspace has no won deal yet, and no deal whose outcome your CRM does not record). A lookup that failed is never reported as "not found". |
cohort | The buyers like this recipient: role level, industry and company size, each only from a high-confidence field, with the ids of the records it used. An axis Amdahl could not read is null. |
rungs_tried | Each lookup that ran or was skipped, with how it ended (answered, no_match, ambiguous, error, skipped) and the names of the fields it returned. Each lookup has 8 seconds, and all lookups share one time limit of 20 seconds. A lookup that the shared limit did not reach is skipped with the reason deadline, and a lookup that was still running is an error with the reason timeout. |
relationship_state | Where your workspace stands with the company, from your CRM's own deal outcomes: active_deal (an open deal), customer (a won deal), closed_lost (a lost deal) or new. Absent when it could not be read: for example when two companies match, when there is no company to look up (a LinkedIn URL alone, or a free mailbox with no company), or when the company has a deal whose outcome your CRM does not record and no open deal. |
message_type | The kind of message: the message_type you sent, or else the one that follows from relationship_state (new is cold, active_deal is deal, customer and closed_lost are re-engage). follow-up comes only from you. |
override_by | Present only when you sent message_type: the user id of the credential that sent it. relationship_state keeps the value Amdahl read. |
The brief
The brief says what to say to the recipient, from your own calls and CRM: what the recipient's own company said, what buyers like the recipient said, the objections those buyers raised, and the proof points your team uses. Code builds it from the profile, and it reads only what your credential may see. No outside service is involved. One model call (Claude Haiku) writes a short label for each pain, objection and proof; it can only name what the item's own evidence says, and it adds no item, count or fact.
Amdahl looks for the recipient's group in a fixed order and stops at the first that has enough evidence. For a recipient with a role level:
- the same role level, industry and company size;
- the same role level and industry;
- the same role level;
- all your customers.
For a recipient with no role level (for example one with only a company), the industry can still pick the group:
- step 5: the same industry and company size;
- step 6: the same industry;
- step 4: all your customers.
A step needs every value it names: a recipient with neither a role level nor an industry (for example one with no identifier) goes straight to step 4. Within a step, the customer side of your calls is grouped by theme. A theme counts only when it has at least 3 speakers, 25 utterances and 2 companies. They are applied to each theme rather than to the group as a whole. A step where no theme reaches them is too thin, and Amdahl moves to the next one. Deal stage never decides the group.
The brief has four kinds of item, listed in this order:
history: what the recipient's own company said (tierACCOUNT), only when the profile matched one company in your CRM. Up to five of the company's customer-side quotes, the ones that share the most words with your draft first, then the newest. An email counts on the words its sender wrote, without the thread it replied to.pain: up to five themes of the group above (tierSEGMENT, orCORPUSat step 4), each with up to two quotes from different companies.objection: up to three objections the same group raised on calls, by how often they came up and then how recently. Each has the newest objection as the buyer phrased it, what your rep answered (nullwhen the call does not show an answer), how it went (resolved,deferred,hardenedorunresolved) and a count by outcome.proof: up to three positioning claims mined from your own calls (tierCORPUS), ranked by how each claim did against deal outcomes in your whole workspace (its lift, not this group's). First come the claims whose lift tier ishigh,mediumorlowand whose lift is above 1, by tier, then by how many companies the claim reached, then the most recently found. Each of these carrieslift_tier,tier_basis(lagging: measured on win rates;leading: on how buyers received it) andheadline_lift. Then come the claims with no lift yet, by how many companies heard them, then the most recently found, withlift_tier,tier_basisandheadline_liftset tonull. A tier says how sure the measurement is, not which way it points, so a claim with a lift of 1 or less and a claim whose lift could not be measured (abstain) are listed underthinwith their numbers. A claim your team has not confirmed yet is listed underthinasproposed. Claims written by hand as hypotheses are never used. An item with a tier names a customer (disclosure: "named", withnamed_companyandnamed_domain) only when that customer won a deal and heard the claim; it names the most recently won one, read from your CRM, and itsevidence_idsholds that customer's CRM record. Every other item is"anonymized". Proof is not ranked when your workspace has no won deal yet (no_won_deals), when the call has anX-Amdahl-As-Ofheader, or when no claim has a lift yet (no_lift): active claims are then listed by how many companies heard them, then the most recently found, with no tier, no lift and no name. The brief's proof shows how your claims did. The message itself never uses one: it describes your company, and cites a result, only from the story your workspace approved.
The recipient's company's CRM notes (HubSpot, Attio and Pipedrive) are facts, not quotes: up to the 20 newest, inside about 4,000 tokens, each tagged crm:<vendor> with its date. They are listed in account.note_ids.
Each pain, objection and proof item gets a label of a few words and label_cites, the ids the label rests on. A label may cite only the item's own id and its evidence_ids, and Amdahl drops any other id. A label left with no citation is dropped too, so its item keeps label: null. The history item is never labelled. When the model call fails or times out, every item keeps label: null and labels says why; the rest of the brief is unchanged. Amdahl then keeps that group part for 10 minutes only (cache.reason: "labels_failed", ttl_seconds: 600): a call for that group in those 10 minutes gets the same part with no new model call, and the first call after them reads the group again and makes a new label call. The model call is made only for a group part that Amdahl will keep (see below), so a call with an X-Amdahl-As-Of header, a call while the cache is off, and a call where a read did not answer make no model call (labels.status: "skipped"). The brief's reads have one 15-second limit, after the profile's own 20 seconds. The label call comes after the reads and has 6 seconds of its own, and only a call that built the group part makes it. So a call with recipient can take up to about 41 seconds longer before the Outbound service starts.
Amdahl keeps the group's part of the brief (its ladder, pains and objections), proof and their labels for 24 hours, for each workspace, data access and group. The group is the values the ladder can use: a recipient with neither a role level nor an industry shares the all-customers part with every other such recipient, whatever their size, and a recipient with no role level never shares a part with one that has a role level. A second brief for a buyer in the same group within that time reads none of them again and makes no model call; its built_at is the time the kept copy was built. The recipient's own company's quotes and notes are read on every call and never kept. New calls do not refresh a kept copy: it is replaced only when its 24 hours are up (cache.invalidation: "ttl_only"). With an X-Amdahl-As-Of header the cache is not used.
"brief": {
"version": 2, "status": "ok", "built_at": "2026-10-14T16:00:00.000Z",
"cohort_used": { "step": 1, "tier": "SEGMENT", "role_level": "executive",
"industry_normalized": "Software & Internet", "firmographic_segment": "mid_market",
"counts": { "quotes": 45, "companies": 3, "speakers": 3 },
"provenance": "step 1 of 4 (SEGMENT): role_level=executive, industry_normalized=Software & Internet, firmographic_segment=mid_market" },
"widening_steps": [{ "step": 1, "tier": "SEGMENT", "cohort": { "...": "..." }, "outcome": "used",
"counts": { "quotes": 45, "companies": 3, "speakers": 3 }, "themes_above_floor": 1 }],
"items": [{ "id": "ev_5f03...", "kind": "pain", "tier": "SEGMENT",
"label": "Broken dashboards reach leadership first", "label_cites": ["ev_5f03...", "ev_8f76..."],
"theme": "Data pipeline firefighting", "counts": { "quotes": 27, "companies": 3, "speakers": 3 },
"last_spoken_at": "2026-09-30T10:00:00.000Z", "evidence_ids": ["ev_8f76...", "ev_1c2d..."] },
{ "id": "ev_77aa...", "kind": "objection", "tier": "SEGMENT",
"label": "Price above this year's tooling budget", "label_cites": ["ev_77aa..."], "theme": "pricing",
"counts": { "objections": 3, "calls": 3, "companies": 2 },
"example": { "objection_text": "The estimate is above this year's tooling budget.",
"rep_response": "We can start with the twenty tables that matter most.",
"objection_outcome": "resolved", "evidence_utterance_ids": ["..."] },
"outcomes": { "resolved": 1, "deferred": 1, "hardened": 0, "unresolved": 1 },
"last_raised_at": "2026-09-02T16:00:00.000Z", "evidence_ids": [] },
{ "id": "ev_31c0...", "kind": "proof", "tier": "CORPUS", "label": null, "label_cites": [],
"claim": "Teams cut weekly data firefighting from two days to two hours after rollout.",
"category": "proof_point", "frequency": 3, "lift_tier": "high", "tier_basis": "leading",
"headline_lift": 1.86, "delivered_companies": 3, "disclosure": "named",
"named_company": "Northwind Data", "named_domain": "northwind.example.com",
"evidence_ids": ["ev_5d2e..."] }],
"thin": [{ "kind": "pain", "tier": "SEGMENT", "theme": "Rollout planning and pricing",
"counts": { "quotes": 18, "companies": 1, "speakers": 1 }, "reason": "below_floor",
"short_by": { "quotes": 7, "companies": 1, "speakers": 2 } },
{ "kind": "proof", "tier": "CORPUS", "claim": "Pricing scales with tables monitored, not seats.",
"frequency": null, "reason": "proposed", "lift_tier": null, "tier_basis": null,
"headline_lift": null, "delivered_companies": 0 }],
"account": { "status": "no_account", "note_ids": [] },
"proof": { "ranked": true, "reason": "lift_tier" },
"thin_omitted": 0,
"triggers": [],
"records": [{ "id": "ev_8f76...", "kind": "quote", "tier": "SEGMENT", "field": "quote",
"value": "Our dashboards break and leadership finds out first.", "source_tag": "inferred:calls",
"source_ref": "calls:...", "snippet": "Our dashboards break and leadership finds out first.",
"observed_at": "...", "published_at": "...", "confidence": "high", "expires_at": "...",
"producer": "recipient.brief", "producer_version": "1" }],
"rules": { "floors": { "applied": "per_theme", "distinct_speakers": 3, "utterances": 25, "distinct_companies": 2 },
"caps": { "pain": 5, "objection": 3, "proof": 3 }, "rank": ["count", "recency"] },
"labels": { "status": "partial" },
"cache": { "status": "miss", "stored": true, "ttl_seconds": 86400, "invalidation": "ttl_only" },
"notes": []
}| Key | Notes |
|---|---|
status | ok, or unavailable when the read of the group's calls did not answer (reason: for example deadline, scope_disjoint when your data access shows you no calls, invalid_as_of, or no_generation_at_as_of when an X-Amdahl-As-Of time is earlier than every saved set of themes for your workspace, so the themes of that time are not known). An unavailable brief claims no group, pain or objection: it is never reported as a small group. The company's own part and proof keep what their own reads found. |
cohort_used | The group the brief used: its step, its values (a value the step does not use is null), its counts, and provenance, one line that names the step and the steps it widened from. tier is SEGMENT for steps 1, 2, 3, 5 and 6 ("teams like yours") and CORPUS for step 4 (customers in general). |
widening_steps | Every step tried, in order, ending with the step used: used, thin (measured, no theme reached the minimums) or skipped (the profile lacks a value the step needs; reason names it, such as no_industry_normalized). Each measured step has its utterances (quotes), companies and speakers. |
built_at | When the group's part, proof and their labels were built. On a cache hit it is the time the kept copy was built, not the time of this call. |
items | The items above. Every item has an id, a kind, a tier, a label with its label_cites (null and [] when it has none, and always for history) and evidence_ids, the quotes behind it (none for an objection; for a proof, only the CRM record of the customer a named item names). A pain has its counts and its theme name (null when it could not be read, see notes). |
thin | Items left out, with the numbers: a pain below_floor with short_by (how far each count is under its minimum), a pain, objection or proof over_cap with its rank past the limit, or a proof that is proposed, lift_not_above_1 or abstain (see proof). At most ten pains are listed; thin_omitted counts the rest. |
account | status is read when the profile matched one company in your CRM and at least one of its two reads (its quotes, its CRM notes) answered, unavailable when neither answered (see notes), else no_account. note_ids lists the CRM note facts in records, newest first. |
proof | How proof is listed. ranked: true with reason: "lift_tier": ranked by lift tier as above. ranked: false lists active claims by how many companies heard them, then the most recently found, with no tier, no lift and no name; reason says why: no_won_deals (your workspace has no won deal yet, the profile's named unknown), as_of_cut (an X-Amdahl-As-Of header is set, and the lift reads outcomes after that time), no_lift (no claim of your workspace has a lift yet) or proof_unavailable (the read did not answer; see notes). A proof thin entry's reason is over_cap (with its rank), lift_not_above_1 (a tier, and a lift of 1 or less), abstain (the lift could not be measured; lift_tier is abstain, or a tier with headline_lift: null) or proposed; when proof is ranked it carries lift_tier, tier_basis, headline_lift and delivered_companies. |
records | One evidence record for each item, each quote and each CRM note. Items point at records by id. Only a kind: "quote" record holds a buyer's exact words, in snippet. Every other record is kind: "fact": an item's own record (a pain, the account's history, an objection, a proof claim) with an empty snippet, a CRM note (tier CRM, source tag crm:<vendor>, published_at its date) whose snippet is its text, or the won customer a named proof item names (tier CRM, field won_customer, source tag crm, source_ref <crm>:company:<id>). Records about the matched account (its history item, its quotes and its notes) carry layer: "account"; group and workspace records carry no layer. Records expire 24 hours after observed_at. |
notes | How the brief was built, by code: themes_unnamed (theme names could not be read, for example for a member whose data access is limited), quotes_unavailable (the counts stand, the quotes could not be read), as_of_cut (an X-Amdahl-As-Of header limited the brief's own reads of your calls, notes and objections to those up to that time, and its themes and their names are the ones saved for your workspace at that time; the profile and the Outbound service's own read of your calls are not cut), axis_not_in_vocabulary (a profile value Amdahl does not use for groups), themes_not_customer_voice (themes of email boilerplate, your own templates or internal notes, left out before the themes are ranked, with a count), theme_kinds_unread (your data access does not show which themes are customer voice, so none was left out and such a theme can be an item), account_quotes_unavailable, crm_notes_unavailable, objections_unavailable and proof_unavailable (that read did not answer; reason says why, such as scope_disjoint for proof when your data access is limited: then no proof is shown and no customer is named), proof_names_unavailable (the read of the won customers did not answer, so every proof item is anonymized), proof_names_unresolved (a count of ranked items whose won customer your CRM does not give as exactly one company with a name or a domain; each is anonymized), crm_notes_over_budget (older notes left out, with a count) and proof_tier_left_out_as_of (with an as-of header, proof shows no tier and lists only claims found by then, each with its current text and status). |
labels | What the label call did: labelled (every pain, objection and proof the brief shows), partial (some), unlabelled (none; reason is model_unconfigured, timeout, model_error, no_tool_call or no_cited_label), skipped (no model call was made; reason is cache_bypassed for an as-of header, cache_off or partial_read) or not_run (nothing to label). |
cache | status is hit (from a kept copy), miss (built on this call; stored says whether it was kept, and reason why not: partial_read when a read did not answer, entry_exists when another call kept one first, store_failed; a part kept after its label call timed out or failed has stored: true and reason labels_failed), bypassed (an as-of header) or off (no cache; reason). ttl_seconds is 86400, or 600 for a part whose label call timed out or failed, and invalidation is always ttl_only. |
triggers | Always empty in this release. |
The thesis (beta)
When the profile's message_type is cold (the one that follows from relationship_state: new, or the one you sent), the response also carries thesis: the shape of a cold message, its slots picked by code from the brief and from facts Amdahl holds. When it has a signal and a problem, one model call (Claude Haiku) writes the mechanism: one sentence that says why the problem matters to the recipient now, citing the ids it rests on. Amdahl keeps the sentence only when it cites at least one signal and every id it cites is evidence of this run; otherwise it asks once more, and then the thesis is no_thesis. The call has 2 seconds, its retry included, and the Outbound call waits for it, so a cold message can take up to 2 seconds longer. An ok thesis is sent to Amdahl's writer, which uses it to shape the rewrite (see What the Outbound service receives); the evaluation never sees it, so the thesis can change the rewrite but never how a message is evaluated. The sentence is written again on each call, so two identical calls for a cold message can send different theses: each is then its own Outbound run, counts as its own call and can return a different result. A no_thesis is not sent. Any other message type gives no thesis key.
"thesis": {
"version": 1, "status": "ok", "empty_slots": [], "confidence": "high",
"signal": [{ "id": "ev_2b91...", "text": "Evaluating a new data warehouse in Q1.", "tier": "CRM", "source_tag": "crm:hubspot" }],
"problem": { "id": "ev_5f03...", "text": "Data pipeline firefighting", "tier": "SEGMENT", "source_tag": "inferred:calls" },
"mechanism": { "text": "Moving to a new warehouse in Q1 puts their pipeline firefighting in plain view.",
"cites": ["ev_2b91...", "ev_5f03..."] },
"consequence": { "id": "ev_77aa...", "text": "pricing", "tier": "SEGMENT", "source_tag": "inferred:calls" },
"new_way": { "id": "ev_31c0...", "text": "Teams cut weekly data firefighting from two days to two hours.", "tier": "CORPUS", "source_tag": "inferred:calls" },
"proof": { "id": "ev_31c0...", "text": "Teams cut weekly data firefighting from two days to two hours.", "tier": "CORPUS",
"source_tag": "inferred:calls", "lift_tier": "high", "disclosure": "anonymized" },
"ask": { "text": "a short call", "source": "channel_default" },
"records": [],
"latency_ms": 840, "model_calls": 1
}| Key | Notes |
|---|---|
signal | Facts that are events or things someone told you: the recipient's company's CRM notes (newest first) and, on a workspace with intake use, the high facts intake read from your notes or from a CRM note it parsed (yours first). At most five. Who the person is (title, company, industry, size), the last conversation and anything read off your calls are never signals, and neither is a fact inside your own angle or pitch. |
problem | The angle you gave in your notes ("my angle is ..."), on a workspace with intake use; else the brief's first pain of buyers like the recipient (steps 1, 2, 3, 5 or 6 of the ladder). A pain of all your customers (step 4) never fills it. |
mechanism | One sentence that links a signal to the problem, with cites, the ids it rests on (at most 10): at least one is a signal, and every one is a record of this run. null when the thesis is no_thesis. |
consequence | The brief's first objection of buyers like the recipient (steps 1, 2, 3, 5 or 6), or null. |
new_way | Your pitch ("the pitch is ..."), on a workspace with intake use; else the claim of proof. |
proof | The brief's first proof claim (its top-ranked one when proof is ranked), with its lift_tier. disclosure is always anonymized: a thesis never names a customer, even when the brief's proof item does. |
ask | Your ask ("my ask is ..."), on a workspace with intake use (source: "rep", with its record id; its text is cut to 300 characters, and the record keeps all of it); else the channel's default (source: "channel_default"): "a short call" for email and for a call with no channel, "a reply" for linkedin. |
status, reason | ok needs a signal, a problem and a mechanism that cites a signal. Otherwise no_thesis, and reason says why: brief_unavailable (the brief's read of the group's calls did not answer), notes_unavailable (no signal, and the read of the company's CRM notes did not answer, so Amdahl does not know whether there is one) or missing_slots (no signal or no problem), all without a model call; mechanism_uncited (the sentence failed the check twice), timeout (the 2 seconds passed, or too little of them was left to ask again), model_error (the call failed) or model_unconfigured (no model is set up for this deployment). |
empty_slots | Every slot that is empty, of signal, problem, mechanism, consequence, new_way and proof. |
confidence | How specific the problem is: high for your own angle or a pain at step 1, medium at step 2, low at step 3, 5 or 6, null with no problem. |
records | The evidence records the thesis made for your hints and the intake facts it uses (field thesis_hint or fact, tagged caller:extracted or crm:extracted). Every slot id is a record here or in brief.records. Empty on a workspace without intake use. |
latency_ms, model_calls | How long the mechanism step took and how many model calls it made: 0, 1, or 2 with its one retry. 0 and 0 when no call was made. |
Each slot carries the tier of its record, which says what it licenses: a CRM or CALLER fact states only what it says, a SEGMENT item speaks for buyers like the recipient, and a CORPUS claim for your customers in general. The thesis is kept with the run's evidence. With intake use on, a hint with none of the phrases above is shown in intake.parsed and fills no slot.
What the Outbound service receives (beta)
On a call that sends recipient, the Outbound service receives, beside your own context:
- the profile fields Amdahl read from your records (your CRM, your calls, company data), each with its source and record id. A value you sent yourself in
recipientis not repeated, and neither are the recipient's email address, LinkedIn URL andquotable_utterances. The writer may use a field to address the recipient. A field licenses no claim: a figure the writer takes from it is evaluated as an added figure; - the brief's
history, the pains and objections of buyers like the recipient (steps 1, 2, 3, 5 and 6 of the ladder), and proof, each with its label and with theACCOUNTandSEGMENTquotes behind it: at most 10 quotes per item and 20 in all, taken one per item in turn. A step-4 pain or objection (what all your customers said) is not sent, because the Outbound service reads your customers' calls itself when you sendevidence: "workspace". Proof is sent with its claim and no quote, in the brief's order, and never with the customer it names: a named customer stays in the response. An item with no label is sent with its theme, its claim, or forhistorythe company's name; - your CRM's notes on the account, up to 20, each as a fact from your CRM with its date. A fact licenses only what it states, and it is never a quote;
- for a cold message whose thesis is
ok: the thesis, last. Each slot goes with its recordid,tierand text, themechanismwith the ids it cites, and the ask as text;proofkeeps itsdisclosureand never names a customer. The writer uses it to shape the message, and the evaluation does not see it. The checks that throw out a version with an invented figure or claim accept what the signal, problem, consequence and proof texts and the ask state; the mechanism and the new way license nothing. Ano_thesis, and every other message type, sends no thesis.
Amdahl's evaluation may cite a brief quote the way it cites a quote of your calls. A quote of buyers like the recipient licenses "teams like yours", never a claim about the recipient. The response then carries cited_evidence, the brief quotes the evaluation cited on the message that came back:
"cited_evidence": [
{ "id": "ev_7d0b...", "tier": "SEGMENT" },
{ "id": "ev_31aa...", "tier": "ACCOUNT" }
]Each id is a quote record in brief.records. [] means none was cited; null means the Outbound service's answer could not be read. The key is absent when the Outbound service received nothing from the profile or the brief. That happens only when there is no profile field read from your records, no brief item other than a step-4 pain or objection, and no CRM note. Proof is about your workspace, not the recipient, and a group of buyers can come from a title you sent. So on a workspace with proof claims, a call that sends recipient sends the brief's proof even when Amdahl found nothing about the recipient. cited_evidence is in beta.
On a workspace where a call carries a context pack, the pack takes the place of the profile fields, the brief and the CRM notes above. The thesis of a cold message still goes beside it, with email addresses, LinkedIn links and phone numbers taken out of its texts. Beside a pack the thesis only sets what the message leads with and its order: no slot licenses a claim, and only its ask may be stated. No brief quote goes with a pack, so cited_evidence is then [] on a cold message whose thesis went, and absent on every other call that carries a pack.
Fit for the audience (beta)
When the brief the Outbound service receives holds a point that this recipient can recognize, Amdahl's evaluation answers one more question about the message that came back: does it address one of those points? A point is a pain or an objection of buyers like the recipient (steps 1, 2, 3, 5 and 6 of the ladder, tier SEGMENT), or the account's own history (tier ACCOUNT). Proof, and a step-4 pain or objection, never count. Naming the company does not address its history: the history is what the account's own quotes say. The evaluation reads no new data for this and makes no extra model call. The response then carries fit_for_audience:
"fit_for_audience": { "verdict": "pass", "cited_id": "ev_9c41...", "tier": "ACCOUNT" }| Field | Notes |
|---|---|
verdict | pass: the message addresses a point of the brief, no further than its tier permits (an ACCOUNT point can be said about the recipient's company, a SEGMENT point only about teams like theirs), and the evaluation named it. fail: it addresses none. null: not measured. The evaluation did not answer, or it passed the line without naming a point it was shown. A null is never a pass. |
cited_id | On a pass only: the id of that point, an item of brief.items. null otherwise. |
tier | On a pass only: that item's tier, ACCOUNT or SEGMENT, as the brief shows it. null otherwise. |
Report only, until it is calibrated. The line never decides whether Amdahl tries a rewrite or asks you questions instead (needs_input). It is not part of lift or of the rule that stops the rewrites early. The independent re-check that can refuse a rewrite (veto_reason: not_better) does not read it. But it counts in Amdahl's in-loop score, and that score picks which scored version comes back. Your draft is one of those versions. So the line can change which version you get, and also whether outcome is rewritten or kept. With such a brief, a try's score includes it, and its aimed_at can name fit_for_audience. Do not read a pass as "ready to send".
The key is absent when the Outbound service received no such point: you sent no recipient, or the brief holds only proof and step-4 pains or objections. It is also absent when the Outbound service did not evaluate the line. null in place of the object means the Outbound service's answer could not be read. fit_for_audience is in beta.
Context pack use (beta)
On some workspaces, a call also carries a context pack: what Amdahl already knows about the recipient's company, split into what Amdahl's own records show and what the company or the market has published. When a call carries one and Amdahl evaluated against it, the response carries context_use, the evaluation's verdict on whether the message that came back is positioned on something from the pack:
"context_use": {
"pack_id": "cp_7f3a...",
"identity": "high",
"rows": [
{ "row": "relevant_positioning_with_internal_context", "bucket": "internal", "verdict": "pass", "cited_id": "ci_3", "tier": "PUBLIC" },
{ "row": "relevant_positioning_with_external_context", "bucket": "external", "verdict": null, "cited_id": null, "tier": null }
]
}| Field | Notes |
|---|---|
pack_id | The id of the context pack this call carried. |
identity | How sure the pack is of who the recipient is: high, medium or low. Below high, nothing in the pack may be said as specific to the recipient. |
rows | One row per side of the pack that held something to check against: internal (Amdahl's own record of this recipient or of companies like theirs) and external (what the recipient's company or the market published). Only the sides that held something are asked. |
rows[].verdict | pass: the message is positioned on an item of that side, and the evaluation named it. fail: it is not. null: not measured — the evaluation did not answer, or it passed the row without naming an item it was shown. A null is never a pass. |
rows[].cited_id | On a pass only: the id of that item. null otherwise. |
rows[].tier | On a pass only: that item's tier (ACCOUNT, CRM, CALLER, SEGMENT, CORPUS or WORKSPACE for internal; PUBLIC or MARKET for external). null otherwise. |
Report only. context_use never decides whether Amdahl tries a rewrite or asks you questions instead, and it is not part of lift or of the rule that stops the rewrites early.
The key is absent when the call carried no context pack, or when this deployment did not evaluate it. null in place of the object means the Outbound service's answer could not be read. context_use is in beta.
Intake (beta)
Intake reads the text you paste about the recipient and turns it into fields, facts and rules. On most workspaces it is shown and not used: what it reads changes no field of the profile, no group of the brief, and nothing the Outbound service receives. On a workspace where Amdahl has turned on intake use (beta, per workspace), a call that sends recipient also uses it, and mode says live; see Intake use. Check what it read, and when a value is wrong, fix your notes and run again. While intake is in this review phase, and only during the review window, Amdahl keeps the text it read and what it parsed, inside your workspace's data and readable by Amdahl staff only, so a person can check its accuracy; it is deleted 30 days after that review ends, at the latest 60 days after it was kept, or with your workspace.
It reads three inputs. In recipient.attributes, a key whose name is a profile field (Job Title, Company Name, Company Domain, Industry, Employee Count, Country and the like) is read as that field, by code. Every other attribute, your recipient_notes, and the CRM notes the brief read on the recipient's account (the newest 20, inside 4,000 tokens) go to one model call. Intake reads the account's CRM notes even when you send no notes and no attributes. Before that call, code reads email addresses and LinkedIn profile links as hints: a hint is never used on its own, because the address can belong to someone else, so it shows in unconfirmed unless the model or a named attribute gives the same value. Other links and domains in free text (a company page, a meeting or a document link) are never read as the recipient's domain. That call has 4 seconds. Intake reads at most 4,000 tokens, counted at 3 characters a token over the text as the model reads it, attribute names included (about 12,000 characters): your notes first, then the other attributes in the order you sent them, then the CRM notes, newest first; past that it stops and says so in truncated.
"intake": {
"parsed": {
"status": "ok", "mode": "shadow",
"fields": [{ "field": "employee_count", "value": "140", "confidence": "high",
"span": { "in": "recipient_notes", "start": 32, "end": 42 },
"source_tag": "caller:extracted", "method": "model", "published_at": null }],
"facts": [{ "value": "replacing Zendesk this quarter", "confidence": "high", "date": null,
"span": { "in": "recipient_notes", "start": 74, "end": 104 },
"source_tag": "caller:extracted", "method": "model", "published_at": null }],
"rules": [{ "value": "Never mention pricing", "...": "..." }],
"voice_examples": [], "thesis_hints": [],
"unconfirmed": [{ "kind": "fact", "value": "series B", "confidence": "medium", "...": "..." }],
"dropped": [{ "kind": "field", "field": "title", "value": "VP Engineering", "reason": "span_mismatch" }],
"conflicts": [],
"truncated": null, "model_called": true, "latency_ms": 1430
}
}| Key | Notes |
|---|---|
status | ok; timeout when the model call passed its 4 seconds; model_error when it failed. In both, the values read by code (named attributes, address hints) are still returned. A timeout also returns the values the model had written before the deadline. |
mode | shadow: shown, not used. live: also used, by the rules in Intake use. A call with recipient_notes and no recipient is always shadow: there is no profile to fill. |
fields | Profile fields: email, name, linkedin_url, title, department, company, domain, industry, employee_count, country. At most one value each. |
facts, rules, voice_examples, thesis_hints | What the recipient or their company said or did (with date when the text names one), your instructions such as "never mention pricing", a pasted sample of your writing, and your own angle ("my angle is ..."). |
confidence | Only high values are in the lists above. A medium or low value is in unconfirmed, with its kind. An address hint read by code is medium, with method: "pattern". |
span | Where the value was read: character offsets [start, end) into recipient_notes, into the value of the attribute at position attribute (counted from 0 in the order you sent the map, never by its key), or into the CRM note whose brief record is record_id (its text is that record's value in brief.records). The text at the span always contains the value, as whole words. |
source_tag | caller:extracted: you said it. crm:extracted: a CRM note on the account said it, and published_at is the note's date. Both count as what you or your CRM told us, never as a public source, and a fact or rule read from a note is a fact, never a quote. |
dropped | Values not kept, with the reason: no_span (the text does not hold it), span_mismatch (the text it points at does not contain it, for example a title written out in full when you wrote it short), unknown_field, over_limit, or account_note (a person field, such as a title or an email, read from a CRM note: a note belongs to the account and may be about someone else there). Intake never fills a field your text does not state. |
conflicts | A field with two or more different values in what intake read. None of them is in fields. In shadow none is used. In live, the order of trust can settle it: see Intake use. |
truncated | null, or { "code": "input_truncated", "budget_tokens", "input_tokens", "kept_tokens" }. |
output_cut | live only, and present only as true: the model's answer was cut, at its length limit (status: ok) or at the deadline (status: timeout). The values it wrote before the cut are shown, but no CRM note is replaced by its values. A long input (many CRM notes) can give more values than one answer holds: then the values come from your own text first, then the newest notes. |
Intake use (beta)
On a workspace where Amdahl has turned on intake use, a call that sends recipient reads intake before it picks the group of similar buyers, so the call waits for intake's model call (4 seconds at most). While intake runs, the brief reads the group of the profile as it was before intake. When intake changes that group, the brief reads the new group with a 15-second limit of its own, so such a call can take up to about 19 seconds more. Then:
- A
highfield joins the profile as a record taggedcaller:extracted(your text) orcrm:extracted(a CRM note). A title, an industry and an exact headcount also give the role level, the industry group and the company size, so they can pick the group of buyers in the brief. - The order of trust still holds: a field you send in
recipientwins over an attribute whose name is a profile field, that attribute wins over your notes, your notes win over your CRM's own fields, and a CRM note's value only fills a field your CRM leaves empty. Another attribute (one the model reads) ranks with your notes. A value that disagrees is listed under the profile'sconflicts, never merged. - When your text says what Amdahl already read (the same title as your CRM, for example), the profile keeps the record Amdahl read, with its source, and the Outbound service still receives it.
- A conflict inside intake is settled only by that order, never by confidence. When one value comes from a more trusted part than every other and it is
high, it joins the profile and the otherhighvalues are listed under the profile'sconflicts. Otherwise none of its values is used, and the field stays what Amdahl read. - A role level, industry group or company size that came from a value that lost its field is left out, so the group of buyers never comes from a value the profile does not show.
- A
domainis used only from an attribute whose name is a profile field (such asCompany Domain). A domain the model reads from other text (a company page link, your notes) is shown and never used: a link can name someone else's site. - A
mediumvalue reaches the Outbound service as a fact only, written as the field and its value (for exampleDepartment: Platform). It never picks the group of buyers. An email address, a LinkedIn link or a domain is never sent. - A
highrule reaches the Outbound service as a rule, after therulesyou send incontext. Ahighfact reaches it as a fact: from your text, as one of your own facts (with yours, at most 10); from a CRM note, as a CRM fact dated by the note. - A CRM note that intake read whole, and in which it found at least one fact or rule it uses, reaches the Outbound service as those facts and rules instead of its whole text. Any other note is sent whole, as before, and none of its values is used: a note intake cut, a note read when the model call did not answer or its answer was cut (
output_cut), and a note in which it found nothing it uses. - A
lowvalue, a voice example and a thesis hint are shown and not used. - The response's
contextstill counts only what you sent incontext: the rules and facts intake adds are not in it, and a call that sent nocontextgets none.veto_reason: breaks_rulescan come from a rule intake read in your text or in a CRM note.
Response
Written from context, a run returns kept only when your draft already did the job. Every run that sends facts or rules writes a message from them, and reads your draft for its facts when you send one, so outcome is rewritten on success. When the message that comes back is your draft with at most its greeting, sign-off or spacing changed, outcome is kept, unchanged is true, message holds the returned text (the change included), and a sender note with code draft_kept names the change. For example: Your draft already met every rule you sent. The only change: added the greeting "Hi Jacob,". kept_suggestions comes only from a run that improves a draft: one sent with no facts, no rules and no recipient, or one on a deployment that still improves every draft. What your input cannot back is left out of the message and listed in omitted; see When it cannot write a message. The example below is from a run that improved a draft, so some of its fields and notes read differently.
Like every operation, the result is inside the data envelope:
{
"data": {
"ok": true,
"outcome": "rewritten",
"rewrite": "Hi Chris, thanks for connecting. I noticed you lead RevOps at Brightpath. We work with RevOps teams to streamline their tech stack and drive pipeline with AI. Curious if you're dealing with either of those right now?",
"message": "Hi Chris, thanks for connecting. I noticed you lead RevOps at Brightpath. We work with RevOps teams to streamline their tech stack and drive pipeline with AI. Curious if you're dealing with either of those right now?",
"summary": "Rewrote it in your own style to improve how clear the ask is and how human it sounds. This was a style pass only. Its claims were not checked against your workspace's conversations.",
"unchanged": false,
"run_id": "ad5a34f6-...",
"extraction": { "receiver_name": "Chris", "company": "Brightpath", "channel": "linkedin" },
"lift": null,
"evidence": { "requested": "off", "used": false, "reason": "not_requested" },
"on_unsupported": "flag",
"unsupported_claims": null,
"notes": [
{
"code": "rewrite_checked_yes_no",
"audience": "sender",
"says": "Re-checked independently (a different model from the one that picked the rewrite) on yes/no questions, each asked twice of the draft and of the rewrite: it did not consistently lose a clear ask, a human tone or concision, and it was not found to add a claim the draft did not make. This is a pass/fail check, not a before-and-after score."
},
{
"code": "style_pass_only",
"audience": "sender",
"says": "This was a style pass only. The draft was graded on how it reads, and its claims were not checked against the workspace's conversations. A style pass does not mean that the draft passed or that it is ready to send."
},
{
"code": "evidence_available",
"audience": "developer",
"says": "This request did not ask for evidence, so the draft was graded on style alone. This deployment can read the workspace's conversations: to also grade the draft against them, send evidence: \"workspace\"."
}
]
}
}That is a real response to a LinkedIn draft sent with no evidence, with its notes as they read now and one developer note left out: an evaluation of style alone, as before your data is connected. Its claims were not evaluated against your customers' own conversations (unsupported_claims: null), and lift is null, because an evaluation of style alone measures no before-and-after score; a different model re-checked the rewrite on yes/no questions instead, which is what the first note says. With evidence: "workspace" on a workspace with synced conversations, evidence.used is true, unsupported_claims is a list ([] when nothing was found), and a rewrite that reaches the blind re-evaluation carries a lift measured against about 20 of your customers' quotes. Write a cold email reads a full response, and a kept draft, field by field.
| Field | Notes |
|---|---|
ok | false means no rewrite was produced. Read reason (or error.code for the monthly cap) and stop. |
outcome | What happened, in one field. rewritten: a message came back. needs_input: nothing new was written, and ask holds the questions. Written from context, this comes only with on_missing_input: "ask", when your input could not support the request, and there is no message. A run that improves a draft returns it when the draft is too weak to improve, with the draft unchanged in message. With the default, best_effort, a run written from context always carries a message, and omitted lists what it could not do. kept: your draft came back, as written or, written from context, with only its greeting, sign-off or spacing changed (a draft_kept note names the change). Read this first. |
rewrite | The message, and only a message Amdahl wrote: null whenever outcome is not rewritten. |
message | The version to use. Use it as returned; do not polish it with another model, which undoes the checks that kept your facts exact. On a run that improves a draft, this can be your own text, unchanged. Absent, never null or "", when outcome is needs_input and nothing came back. |
summary | One line naming what the message aimed at. It says the message scored higher than your draft only when lift.returned is rewrite. Written from context with a draft, it is built from the changes to your draft: the one change when the draft was kept, otherwise how many of its sentences were added, changed and removed. |
what_changed | One plain sentence for the person who wrote the draft, at most about 30 words, on what the rewrite changed and why: the sentences it cut (naming the opener and the ask), whether it replaced the ask, whether the subject line was rewritten to fit a body it no longer matched, and, when it cut lines and you sent no facts, that a fact would keep them. For example: Cut the opener and 3 more sentences, replaced the ask and rewrote the subject to match; no fact you sent backs the cut lines, so add one to keep them. Built from the changes to your draft, with no model call. Present only when outcome is rewritten, and only from an Outbound service that sends it. Show it beside message with the sender notes; it is Amdahl's own reason for the changes. |
changes | Each sentence of your draft that the returned message changed, and why, as {before, after, why, why_cut, why_added} rows in message order, at most 12. before is word for word in your draft, null for an added sentence. after is word for word in message, null for a cut sentence. why_cut says why the old text went, only when a cut reason is on record. why_added says why the new text is better, from the sources it was written from (a fact or rule you sent, the brief, a customer quote). Each is one plain sentence built with no model call, and a key is left out when nothing is on record for it. Show why_cut on the crossed-off line and why_added on its replacement. For example: Uses a fact you sent and follows a rule you set. why stays for older readers: the added reason, else the cut one. A change with nothing on record has no row, so not every changed line has one. [] when your draft came back or no change has a recorded reason. Absent when no draft was sent, no message came back, or the Outbound service did not compute it. Use it to explain a line of a diff: match before in the draft and after in message. |
unchanged | true only when outcome is kept (your draft came back, at most with its greeting, sign-off or spacing changed), or when nothing was written (see ask). Do not present that as a new message. Absent, like message, when no message came back. |
extraction | What Amdahl read out of the draft: receiver_name, company, signal and channel. With no draft, it holds at most channel. Read who the message is for from your own context instead. |
lift | The only before-and-after in the response, so the only score to quote as one. Amdahl's evaluation model, a different model from the one the rewrite was scored against, re-evaluates your draft and the rewrite blind, one call each and neither told which is the draft, against the same evidence. Measured only when the run read your conversations and a rewrite reached that re-evaluation; null otherwise, which includes every evaluation of style alone. See Reading lift. |
evidence | What happened about customer evidence on this run: { "requested", "used", "reason" }. See Reading evidence. null only from an Outbound service that predates the field. |
batch_hint | Present from the third single call by the same caller (the same API key or OAuth client, user and workspace) within 15 minutes: one sentence that names the batch call. A batch item never carries it. |
context_hint | Present only with ok: true and never with mode: "grade", on a single call and on a batch item, when the call left out a field that would make the message better: a list of sentences, each naming the field to send. One comes back when you sent no recipient. Another comes back when your rules or facts say the message is a follow-up or a reply (for example "a short follow-up", "my last email", "got no reply") and context has no thread, no prior_touches and no stage past cold, and Amdahl added no earlier messages it wrote to the recipient. It never changes the message. See Follow-ups and replies. |
usage | How many model calls this run made, as { "model_calls" }. model_calls is the count that was known when the run answered. Some work goes on after the answer, and its calls are not in this count: read the run for the final count. model_calls is null when the Outbound service did not report a count, for example an older Outbound service or a run that failed. A missing count is never reported as 0. Present on every result that has an outcome or a reason. A refused call (success: false with error) never reached the Outbound service, and has no usage. |
notes | Facts about this run, each { "code", "audience", "says" }. Branch on code, never on the wording of says. audience says who says is written for. A sender note is about the draft or the message that came back, in plain words: show it to the person who wrote the draft, as written. A developer note says how to read this response, such as which model decided or what to send next, and can name fields and parameters: act on it or log it, and never show it to the sender. A code has the same audience on every run, so filter on the field rather than on a list of codes, and treat any audience other than sender as not for the sender. New codes appear over time. Omitted when there are none. |
vetoed_round, veto_reason | Present when Amdahl refused its best rewrite and returned your draft, and reports that it did (not every deployment reports it yet; unchanged: true says your draft came back either way), and on a message that came back with incomplete: true (see the end of this row). vetoed_round is the rewrite round it refused. veto_reason says why, as one of these values. not_better: on a run that read your conversations, the rewrite did not score higher than your draft on the blind re-evaluation. atomic_regrade_consistent_fail: on an evaluation of style alone, the independent yes/no re-check found it consistently worse on one question, for example less concise, or found that it added a claim that neither the draft nor your facts make. breaks_rules: it broke one of your rules when re-checked (on a workspace with intake use, a rule intake read counts too). Amdahl is moving to a check that refuses a rewrite only for a specific problem, and then names it: conflicts_with_callers_ask (it asks for a different length or time than the ask you stated), drops_ask (it leaves out the ask you stated, or the ask your draft made), adds_claim (it states something neither your draft nor your facts support), drops_entity (it drops a name, link or placeholder your draft had, or the offer you stated), inflates (it goes over your word limit, or grows a short draft a lot when nothing you sent asked for more), no_gain (it changed only how the draft reads, and not by enough to be sure it reads better), and too_short (it says almost nothing between the greeting and the ask). On a message that came back with incomplete: true, vetoed_round is the round that came back, and veto_reason is the first hard check it fails: breaks_rules, drops_ask, adds_claim or too_short as above, or keep_cta (it does not keep your closing ask word for word), outside_length (it is over your word limit, or outside the length a message to this reader needs), missing_part (it leaves out a line a message to this reader needs, such as a proof point) or forbidden_part (it has a line a message to this reader leaves out). The run's notes carry the specifics. Treat a value you do not recognise as a refusal. |
on_unsupported | The mode this run used, flag or remove, so a caller that sent none can see the default it got. |
on_missing_input | The mode this run used, best_effort or ask. null only from an Outbound service that predates the field. |
omitted | What the message could not do with your input (a fact a rule needs, a rule it does not fully follow, a missed limit), each { "what", "why" }. [] means it did everything your input asked. Absent only from an Outbound service that predates the field, which does not say. See Reading omitted. |
placeholders | The unfilled slots message still holds, such as [Last Name], {first_name}, <NAME>, XX% or TBD, each { "placeholder", "asks", "source" }. [] means it holds none. If it is not empty, fill each slot from what you know, or put its asks to the sender, before the message is sent. The message comes back as it is, and outcome is unchanged. Absent only from an Outbound service that predates the field. See Reading placeholders. |
incomplete | true when message fails one or more hard checks: no version Amdahl wrote passed them all, so the version with the fewest failures came back. failed_rules names each check, and omitted and a sender note with code served_under_veto say what failed, in plain words. Read the message and fix what is named before it is sent. false when the message passes every hard check. Absent only from an Outbound service that predates the field. See When it cannot write a message. |
failed_rules | The hard checks message fails, by code: ask (the ask), sources (a sentence that nothing you sent backs), rules (one of your rules, or one of Amdahl's own checks listed in Reading omitted), length (the length, such as your word limit), body (too few words between the greeting and the ask) and parts (a line that a message to this reader needs and lacks, or has and should leave out). [] when it fails none. New codes can appear. Absent only from an Outbound service that predates the field. |
added_claims | Each sentence of message that rests on a line your request did not send, such as a value, offer or proof stored for your workspace, a CRM note or a public fact, as { "sentence", "sources": [{ "id", "tag", "text" }] }. [] means no sentence does. Check each before you send. Absent from an Outbound service that predates the field. |
ignored_params | Present only when a param you sent changed nothing on this call, such as keep_cta in context when neither your request nor your draft states an ask, or a beta field your workspace does not have. |
unsupported_claims | Claims in the message that nothing in your conversations backs and no fact states, each with what happened to it in message. [] means Amdahl evaluated every claim against your customers' own conversations and found none; null means it did not evaluate them on this run, which is always the case without evidence: "workspace" and whenever evidence.used is false. See Reading unsupported_claims. |
kept_suggestions | Only on a run that improved a draft and returned it unchanged: what you can change yourself, each { "kind", "span"?, "says" }. A run that writes from context never carries it. See Reading kept_suggestions. |
ask | Present only when nothing new was written: the questions only the sender can answer, at most three, each { "asks", "field"? }. Written from context, only with on_missing_input: "ask", when your input could not support the request. A run that improves a draft sends them when the draft is too weak to improve. Omitted otherwise. See Reading ask. |
tries | Present only when you sent include_tries: true: every version the run scored or checked, in order, each { "round", "message", "score", "human_tone", "aimed_at", "returned" }, plus source, checks_open and sentences_removed on a version written from context. null when the run's trace could not be read; the rewrite is unaffected. See Reading tries. |
recipient_received, evidence_run_id | Present only when you sent a recipient field: what arrived, as names and counts, and an id of this run's own. |
cited_evidence | Beta. Present only when the Outbound service received something from the recipient's profile or brief: the brief quotes Amdahl's evaluation cited on message, each { "id", "tier" }. See What the Outbound service receives. |
fit_for_audience | Beta. Present only when the brief the Outbound service received holds a pain or an objection of buyers like the recipient, or the account's history, and Amdahl evaluated the line: whether message addresses one, as { "verdict", "cited_id", "tier" }. Report only. See Fit for the audience. |
context_use | Beta. Present only when the call carried a context pack and Amdahl evaluated it: whether message is positioned on something from Amdahl's own record of the recipient or of companies like theirs (internal), or on something the recipient's company or the market published (external), as { "pack_id", "identity", "rows" }. Report only. See Context pack use. |
judge_mean | Present only on a run written from context: the score that Amdahl's in-loop scoring model gave the version that came back, from 1 to 5. null when that version was not scored. That model uses it to pick the version, so it is not a before-and-after: only lift is. Absent on a run that improves a draft. |
voice | Present when you sent voice_examples, or when the writer read the sender's learned voice: what reached the writer of message from the sender's own messages, as { "samples_used", "voice_v2", "voice_score", "source" }. Counts, a flag and a score; never the text of a sample. null when the Outbound service's answer could not be read. See Reading voice. |
context | Present only when you sent a context: how many rules and voice examples the Outbound service received once blank entries were dropped, as { "rules": n, "voice_examples": n }, plus "facts": n when you sent any and "soft_rules": n when you sent a soft rule (also counted in rules), so you can confirm they arrived. Each constraint you sent is echoed too: keep_cta (true or "strict") and max_words as sent, banned_phrases and banned_punctuation as counts. Counts only, never the text. The rules and facts that intake use adds are never counted. |
Reading lift
lift compares the returned message with your draft. A message written from context has no before to compare, with or without a draft: expect lift to be null and read the rewrite_checked_yes_no note instead.
| Field | Notes |
|---|---|
before, after, delta | The re-evaluation's 1 to 5 means for your draft and for the rewrite, and the difference. |
returned | rewrite, or draft when the rewrite did not score higher than your draft on the re-evaluation (a tie counts as not higher) or broke one of your rules when re-checked. With draft, your draft came back: message is your own text and unchanged is true. |
dimensions, quotes | What was measured: the rubric dimensions both evaluations answered, which include the four evidence dimensions, and how many of your customers' quotes they read, typically around 20. Read both before repeating the number: a lift is a claim about those dimensions and those quotes, no more. |
method, grader, grader_version, rewrite_round | How it was measured, by which model, and which rewrite round was compared. method is always blind_regrade_pinned. Compare two lifts only when their grader_version matches. |
lift is null when no before-and-after was measured, and then none is claimed. That is always the case on an evaluation of style alone (evidence off, or requested and not used): there a returned rewrite is re-checked by a different model on yes/no questions instead, each asked twice of both versions, and the rewrite_checked_yes_no note says what it found. On a run that read your conversations, lift is also null when no rewrite reached the re-evaluation, the re-evaluation failed, or its two evaluations did not answer the same dimensions. If unchanged is false, lift is null and no note says the rewrite was re-checked, the rewrite was chosen by Amdahl's in-loop scoring model alone.
Reading voice
"voice": { "samples_used": 3, "voice_v2": true, "voice_score": 0.82, "source": "examples" }| Field | Meaning |
|---|---|
samples_used | How many of your voice_examples the writer of message was shown. 0 when message is your own draft, which no writer wrote. When voice_v2 is true, the writer is shown at most 5 samples, each of 8 words or more; otherwise it is shown every sample. |
voice_v2 | true when the message came from the writer that reads your samples with voice matching on (beta, per workspace), and Amdahl's evaluation scored it against them. false otherwise. |
voice_score | That evaluation's voice score, from 0 to 1, against your samples. null unless voice_v2 is true and the evaluation scored it. It is a different scale from judge_mean. |
source | examples when the writer read your samples, learned_prompt when it also read the sender's learned voice, null when it read neither. |
Reading evidence
| Field | Notes |
|---|---|
requested | The mode the run was asked for: workspace or off, with the default applied when you sent none. |
used | true only when your conversations were read and held quotes to evaluate against. Say a draft was evaluated against your customers' own conversations only when this is true. |
reason | Present when used is false. not_requested: you did not ask. evidence_unavailable: this environment does not read customer conversations, so the run was evaluated on style alone; notes carries the same code as a developer note. corpus_empty: the workspace has no conversations to read yet. evidence_read_failed: the read failed, so the four evidence dimensions were not evaluated; a retry may succeed. not_relevant: the call sent no draft, and Amdahl found no conversation of the recipient's company. None of these is an error: the rewrite came back. |
When you sent evidence: "workspace", no conversations were read and the workspace has no connected source, the result also carries setup_needed: a message and a connect_url that tell the user where to connect one. The rewrite is still returned. A call without evidence: "workspace" needs no data and never carries it. See A workspace with nothing connected.
Reading unsupported_claims
"unsupported_claims": [
{
"span": "we cut onboarding time 40% for teams like yours",
"kind": "about_recipient",
"why": "No quote shown names an onboarding figure.",
"dimension": "verified_specifics",
"status": "kept",
"fix": [
{ "action": "add_fact", "how": "if it is true, re-run with context.facts: [\"we cut onboarding time 40% for teams like yours\"]" },
{ "action": "add_evidence", "how": "cite a source, or optimize again with evidence \"workspace\"" },
{ "action": "rephrase" }
]
}
]| Field | Notes |
|---|---|
span | The claim, copied exactly from the message. |
kind | about_recipient (it talks about the person or company you are writing to) or product_or_outcome. |
why | One sentence on why nothing backs it. |
dimension | grounding, or verified_specifics when the claim carries a number. |
status | What happened to it in message: kept, removed, or rewrite_rejected (it is still there because a rewrite that dropped it was not returned). |
fix | What can be done about it: add_fact, add_evidence, and rephrase, which carries a suggestion when the evaluation proposed a wording. The how text comes from Amdahl as written. |
At most 10 claims are listed.
add_evidence's how text always offers to run again with evidence: "workspace". When the run already asked for it and read nothing because there was nothing to read (evidence.requested is workspace, used is false, and reason is corpus_empty, evidence_unavailable or not_relevant), another run reads nothing too. Add a source to facts inside context instead, or connect a data source so the workspace has conversations to evaluate against (setup_needed says where).
If you are an agent relaying this to a person, do not call the message ready while a claim is still in it. Show the user each claim and ask:
- Is it true, and do you know it first-hand? Re-run with it in
factsinsidecontext, in the user's own words. A fact that states the claim clears it; one that says less does not. - Does it have a source? Add the source to
factsinsidecontextand re-run. - Neither? Offer to re-run with
"on_unsupported": "remove", or let the user reword it.
Never re-run with remove without asking: the claim may be something the user knows and the conversations do not.
Reading kept_suggestions
This applies only to a run that improves a draft. A run that writes from context never carries kept_suggestions, even when you send a draft. When every rewrite was refused, or none scored higher than your draft, your draft comes back with unchanged: true. kept_suggestions is what you can change yourself instead, most useful first, at most 5:
"kept_suggestions": [
{
"kind": "back_up_or_cut_claim",
"span": "we cut onboarding time 40% for teams like yours",
"says": "Cut this claim or back it up with something you can point to: \"we cut onboarding time 40% for teams like yours\""
},
{
"kind": "add_recipient_specific",
"dimension": "relevant_positioning",
"why": "Nothing in the draft is about this recipient.",
"says": "Add one specific fact you actually know about the recipient (something they said, did or published) and tie the offer to it. Leave it out rather than guess."
},
{
"kind": "shorten",
"says": "Shorten to about 91 words (under 600 characters); it is 160 words (1050 characters) now."
}
]| Field | Notes |
|---|---|
kind | What sort of edit, to branch on: back_up_or_cut_claim, add_recipient_specific, make_distinct_point, clarify_ask, needs_real_proof, shorten, replace_generic_line, rewrite_sentence_shape or replace_dash. New kinds may be added, so treat an unknown one like any other row. |
span | Present when the edit is about one part of the draft: that text, copied exactly from what you sent. |
says | The edit, in fixed wording that is safe to repeat to a person as written. |
dimension | Present when the edit comes from a failed rubric line: which one. |
why | Present with dimension: the evaluation's reasoning. Context for the edit, never wording to put in the message. |
The list costs no extra model call: every row comes from something the run already measured. Nothing in it invents a fact. Only span and the counts in shorten come from your draft, and a phrase a refused rewrite made up is never repeated.
Your rules come first. When you send rules inside context, a suggestion about a part of the message that a rule names is left out, and the next one takes its place. The parts are the ask (clarify_ask), the recipient (add_recipient_specific), the pitch (make_distinct_point), customer proof (needs_real_proof), the length (shorten) and dashes (replace_dash). A suggestion with a span is left out when a rule repeats four or more words in a row from it. So "End by asking for a 15-minute call." removes clarify_ask, and "Never mention pricing." removes nothing. The check reads the words of each rule, so it cannot see a rule that decides a part without naming it. If a suggestion still goes against one of your rules, the rule wins.
Reading ask
With on_missing_input: "ask", Amdahl checks before it writes whether your input can support the request as asked. When it cannot, a message could only make up the missing details, so it writes nothing. ask lists what it needs from the sender, at most three questions:
"ask": [
{ "asks": "Who is this for? Which account, and which person there?" },
{ "asks": "What did you see or hear that prompted this? A call, a post, a launch, a number." },
{ "asks": "What specifically changes for them if they say yes?" }
]| Field | Notes |
|---|---|
asks | The question, for the sender. |
field | Present only when Amdahl's evaluation named an input it needed, for example account. Most questions carry none, as above. Treat it as an open string: new inputs may be added. |
Put the questions to the sender as written. Then add their answers to the facts of context and run it again. The asked-for-input note, which has the sender audience, says why nothing was rewritten. The response may also carry kept_suggestions. Show the questions first.
With on_missing_input: "ask", a run that stops before it writes carries a field on each question: the part of context its answer goes in, its facts or its rules. Its omitted lists the same parts, each with why.
Reading omitted
omitted lists what the message could not do with your input. Each row is one of four things: a fact one of your rules needs that none of your facts gives, a rule the message does not fully follow, a requirement it still misses, such as your word limit, or one of Amdahl's own checks (below):
"omitted": [
{ "what": "The customer count the second rule asks for", "why": "None of the facts gives a customer count." }
]| Field | Notes |
|---|---|
what | What the message could not do: the fact a rule needs, the rule it does not fully follow (quoted), the requirement it misses, or the name of one of Amdahl's own checks. |
why | One plain sentence, written for the sender. It names no field. |
Show each why to the sender beside the message. To fix a row, add the fact it names, or change the rule, and run it again. omitted: [] means the message did everything your input asked. A row is never a reason to edit the message by hand: the checks ran on the text as returned. A row that quotes one of your rules (its what starts with Your rule) can come back with incomplete: false, so code that sends without a person holds on that row too.
Amdahl also checks every message it plans against checks of its own. A message that fails one gets a repair, as for a broken rule. A row is listed only when the message still fails it. No check asks you for a fact. The row's what is the check's name:
- The next step and why it matters to them: a reader cannot tell what the sender wants them to do next, or why it is worth their time. To pass it, put the ask in
rulesand add a fact that says what the recipient gets from it. - Building on what came before: your input records earlier contact, and the first sentence after the greeting does not refer to it, or the message repeats that contact's points or introduces the sender again. This check runs only when your input records earlier contact: an earlier message in
thread,prior_touches, a CRM note or an account's quote that Amdahl read for the recipient's company, or a fact that states an earlier call, meeting, demo, trial, reply, message or event conversation between the sender's company and the recipient or their company. A fact about the recipient's own news, such as a new office, is not earlier contact. - Checks on a follow-up: when your input records an earlier note, Amdahl also checks how the message follows it up, and a row names the check that failed: "Following up on the earlier note", "Nothing repeated from the earlier notes", "A subject about this message", "The reason for writing after the follow-up line", "A short close on the earlier note" or "A last note". "Nothing repeated from the earlier notes" fails when the message repeats a point, proof, number or line about what the sender does from an earlier note, so send a new fact for each later step.
When a message comes back with one of these checks still failing, failed_rules reports it as rules. A line a message to this reader needs and lacks, such as "An opening line on why you are writing" or "A line on what you do for them", is reported as parts.
Two rules of Amdahl's own apply to every message and never show as a check row. A sentence or a question that takes something about the recipient or their company for granted that no source states, such as that they run a tool, have a team or have a problem, is an unsupported claim: it is repaired, or cut and listed in omitted like any other unsupported sentence. And a fact about the recipient is joined to a question to them about it or to the problem it bears on for them, never straight to what the sender offers. On a first email with no reason chosen for writing, a fact that bears on neither is left out, and the email opens on a plain question about the problem. A sender line you send is a source, so a line about the recipient's situation, such as "the agents you already run", can be repeated as written. Word sender lines about what the recipient would get, such as "your own calls".
Reading placeholders
placeholders lists each unfilled slot the returned message still holds. Sent as is, the slot reaches the recipient:
"message": "Hi Bo,\n\nAdam [Last Name] ran a large Sales Navigator deal with you at Acoustic. Worth comparing notes?",
"placeholders": [
{ "placeholder": "[Last Name]", "asks": "What is Adam's last name?", "source": "writer" }
]| Field | Notes |
|---|---|
placeholder | The slot, exactly as message holds it. Replace this text. |
asks | One plain question that names the missing fact. Safe to put to the sender as written. |
source | writer: only the returned message holds it. caller: your own draft, facts, rules or voice_examples already held the same slot, for example a merge field your sending tool fills or a link you paste later. |
Before the message is sent, fill each slot from what you know, or ask the sender asks and put the answer in its place. This is the one edit to message you should make. You do not need to run it again to fill a slot. The unfilled_placeholders note, which has the sender audience, says the same thing to the sender. Amdahl finds slots with code, not a model. A markdown link, [sic], a footnote and text in code are not slots. A slot does not change outcome or what the call counts toward your cap. A batch item's result carries the same field.
When the subject line no longer fits
When your draft opens with a subject line (Subject: ...) and the rewrite cut what that subject was about, Amdahl writes a new subject from the rewritten body and puts it in message. A sender note with code subject_rewritten says so and quotes your old subject, and what_changed ends its list of changes with "rewrote the subject to match". When it cannot write one it can stand behind (one short line that names nothing the body does not), your subject stays and a sender note with code subject_mismatch says it may no longer fit; check it before sending. A subject the rewrite changed itself is left as it is.
Reading tries
Send include_tries: true to see the path, not just the result. Each round is one version, and each later round is aimed at every dimension the round before it scored below the top:
"tries": [
{ "round": 0, "message": "Hi Dana, one national campaign, 380 dealers...", "score": 3.8, "human_tone": 4.7, "aimed_at": [], "returned": false },
{ "round": 1, "message": "Hi Dana, I know the challenge...", "score": 3.4, "human_tone": 3.84, "aimed_at": ["cta_clarity", "length_discipline"], "returned": false },
{ "round": 2, "message": "Hi Dana, 380 dealers all needing their own version...", "score": 4.2, "human_tone": 4.86, "aimed_at": ["human_tone"], "returned": true }
]| Field | Notes |
|---|---|
round | The round, in order. When you sent a draft, round 0 is that draft. With no draft, round 0 holds no message of yours. |
message | The body that round produced. A sign-off is set aside before any rewrite and put back only on the returned message, so a try never shows it. |
score | Amdahl's in-loop score for that version, 1 to 5. null when it could not score that round. |
human_tone | How much that version reads like a person wrote it, 1 to 5. null when the round was not scored. |
aimed_at | The dimensions this round was told to improve, from the scores of the round before it, using the names in What it grades plus human_tone, length_discipline, user_preference and cta_clarity, and fit_for_audience when the brief holds a point it can rest on (Fit for the audience). A version Amdahl repaired names its own aim instead: the lines of the part it repaired, or voice when it repaired the voice. Empty on round 0 and on a version written from context. |
returned | true on the one version that came back as message. When your draft came back, that is round 0, even if a later round scored higher and was refused. |
source | "compose" on a version written from context. Absent on every other try. |
checks_open | Only on a version written from context: how many checks that version still fails. A check counts as open when Amdahl could not read it, so 0 means every check was read and passed. |
sentences_removed | Only on a version written from context: how many sentences Amdahl removed because no fact you sent supported them. |
A version written from context is checked, not scored. When you send context facts, Amdahl writes several versions side by side and checks each one: the exact requirements (word limit, banned words and punctuation, greeting and sign-off), every sentence against your facts, and your rules. It repairs what fails and removes a sentence that no fact supports. It does not score these versions, so their score and human_tone are null. One exception: on a call with recipient fields, Amdahl scores the returned version after it chooses it, so that try has a score. Use checks_open to compare the versions. Amdahl prefers fewer failed exact requirements first, then fewer open checks. A rule that needs a fact you did not send is not counted in checks_open: the returned version lists it in omitted instead.
Read score as the path, not as proof. It comes from the same in-loop scoring model every rewrite was scored against, and that model picked the winner, so a rise from round 0 to the returned round overstates the gain. When the response carries fit_for_audience, score includes that line too. Scores also go down between rounds; that is the search working, not a fault. lift is still the only before-and-after to quote. Rewrites Amdahl discarded before scoring, for example for changing a name or a number, are not listed; notes says when that happened.
When ok is false
reason | What happened |
|---|---|
optimizer_unconfigured | The Outbound service does not run in this environment. Nothing was attempted. |
optimizer_timeout | It did not answer in time. Nothing was written; a retry costs a fresh run. |
optimizer_error | It answered with an error. Nothing was written. |
no_message | Writing from context, a check refused every version it wrote, so no message came back. detail says why. The fix is more context: the same request fails the same way. Not billed. |
optimizer_timeout and optimizer_error also carry retry_after_seconds (60) and stop_batch: true:
{
"data": {
"ok": false,
"reason": "optimizer_error",
"detail": "Outbound could not be reached. Nothing was rewritten. Stop sending drafts. Wait 60 seconds, then send one draft to check before you send the others.",
"retry_after_seconds": 60,
"stop_batch": true
}
}When you run a list of drafts and get one of these, stop the list. The other drafts would fail the same way. Wait retry_after_seconds, send one draft, and continue only when it succeeds. A failed call is not billed.
A call refused by the monthly cap carries ok: false, success: false and error.code: "quota_exceeded" instead of a reason, and returns 429 over REST.
A call refused because too many Outbound calls are running or were started has the same shape with error.code: "rate_limited". It is the one failure that is safe to send again unchanged, after the wait in error.details.retry_after_seconds. A call refused because Outbound is unavailable has that shape too, with error.details.reason: "optimizer_unavailable". If you get a refusal for a limit often, you are sending more drafts than single calls are for: send a batch.
The failure branch carries no message at all, so there is nothing to mistake for a written message. Keep the context you sent: send the same request again when you retry.
When it cannot write a message
Amdahl never makes up what your input does not give. With on_missing_input set to best_effort, the default, it writes the best message your input supports, leaves out what it cannot back and lists that in omitted. With ask, it returns the questions instead when your input cannot support the request as asked.
Written from context, when no version passes every hard check (your ask, your rules, the length, a sentence that nothing you sent backs, or a line a message to this reader needs), Amdahl returns the version with the fewest failures and says so. incomplete is true, failed_rules names each check the message fails, and omitted and a sender note with code served_under_veto say what failed, in plain words. Read that message and fix what is named before it is sent.
There is no unchecked fallback, in either mode. Written from context (every call that sends facts or rules, with or without a draft), Amdahl makes one set of requirements from your rules before it writes, and writes two versions in which every sentence names the facts it rests on. When you sent a draft, Amdahl reads it for its facts, and a sentence can rest on what the draft states. Proof from your workspace, such as a customer result from your company profile, is added on a call that sends a draft only when one of your facts or rules asks for proof. Code fixes the mechanical marks (a dash, an exclamation mark, a sign-off line) and checks your constraints. A model reads each sentence against your facts and the rules a reader must judge. Only the sentences a check named are rewritten, at most twice, and a sentence that is still unsupported is deleted. The version with the fewest open problems comes back, and what it still could not do is in omitted.
Improving a draft (a call that sends a draft and no facts, no rules and no recipient), Amdahl scores each version it writes and keeps the one that scored highest. A version is thrown away when:
- it breaks one of your
rulesor constraints; - it adds a figure, a name or a claim that none of your
factsand none of the evidence Amdahl read states; - it still holds a placeholder, such as
[Sender name], or is otherwise not ready to send.
The best version then faces an independent re-check by a different model. On an evaluation of style alone, the re-check asks yes/no questions, twice each, and refuses the version when it is consistently worse on one of them or adds a claim that your facts do not make.
A run with on_missing_input: "ask" that stops before it writes returns ok: true, outcome: "needs_input", no message, and ask with the facts or rules to add. That run is not billed. Nothing you sent is lost: send the same request again with the answers as facts.
A round the in-loop scoring model could not score is excluded from the comparison rather than treated as a zero.
Read a past run
GET /messages/outbound/runs/{id} (MCP: get_message_run) returns one run you made, by the run_id the Outbound call returned. It holds the version you sent in message, the context you sent, and the message that came back, so you can show the two versions again later, for example to a colleague or a client after an agent's first run.
curl -s https://app.amdahl.ai/api/platform/v1/messages/outbound/runs/0b6a6c1e-4f5d-4c1a-9d1e-2f3a4b5c6d7e \
-H "X-API-Key: $AMDAHL_KEY"{
"data": {
"run_id": "0b6a6c1e-4f5d-4c1a-9d1e-2f3a4b5c6d7e",
"draft": "Hi Priya, I saw Acme started a trial. Worth a 15 minute call next week?",
"context": { "facts": ["Priya Shah is VP Sales at Acme."], "rules": ["Ask for a 15 minute call next week."] },
"message": "Hi Priya, ...",
"created_at": "2026-10-20T10:00:00Z"
}
}| Field | Meaning |
|---|---|
draft | Your own version, as you sent it in message. null when you sent none. |
context | The context you sent. null when you sent none. |
message | The message Amdahl returned. null when nothing was written. |
usage | How many model calls the run made, as { "model_calls" }. This is the final count: every model call of the run, before and after the Outbound call answered. It is final once the run's background work has ended, and it can be higher than the usage the Outbound call returned. model_calls is null while that work still runs, and from an Outbound service that does not report it. A missing count is never reported as 0. |
Only the sender can read a run. A run is stored with your workspace and your user. Another member's run, another workspace's run, an unknown id and a malformed id all return the same 404 not_found. It needs messages:execute, the scope that ran the Outbound call.
Record feedback on a run
POST /messages/outbound/runs/{id}/feedback (MCP: record_message_feedback) says what happened to the message one run returned. Send evidence, and at least one of sent_text, comment and outcome:
| Field | Required | Meaning |
|---|---|---|
evidence | yes | How you know: did_it_myself (you sent or edited the message), reported_to_me (the sender told you) or inferred (you concluded it). These are three kinds of observer, not a confidence scale. An inferred edit is stored and scored, but it does not train the sender's preferences. |
sent_text | one of these three | The message as the sender actually sent it, verbatim, edits included. This is the edit Amdahl learns the sender's tells from. |
comment | one of these three | What the sender said about the message, in their own words. |
outcome | one of these three | used, used_with_edits, not_used or unsure. |
curl -s -X POST https://app.amdahl.ai/api/platform/v1/messages/outbound/runs/0b6a6c1e-4f5d-4c1a-9d1e-2f3a4b5c6d7e/feedback \
-H "X-API-Key: $AMDAHL_KEY" -H "Content-Type: application/json" \
-d '{"evidence": "reported_to_me", "outcome": "used_with_edits", "comment": "Too much flattery.", "sent_text": "Hi Priya, ..."}'It returns:
{ "success": true, "feedback_id": "...", "run_id": "...", "rubric_miss": false, "outcome": "used_with_edits", "evidence": "reported_to_me" }rubric_miss is true when Amdahl, scoring as it does now, scored sent_text below the message the run returned: the model and the person disagree. It is null when you sent no sent_text. outcome and evidence are as stored. As with reading a run, only the sender can send feedback on it: another member's run, another workspace's run and an unknown id return 404 not_found, and nothing is stored. A call with no evidence, or with none of the other three fields, is a 400 invalid_argument. Each call stores one more event, so a retry stores it twice. It needs messages:execute and does not count toward the monthly cap.
To tell Amdahl that a run's message went out, and where, see Report sent messages.
Whose voice it learns
Amdahl keeps a per-sender ledger of tells: small, individually checkable facts about how you write, like "opens with a question". It learns them from the edits you make to what it gives back.
- The ledger is per workspace and per sender. The identity is composed server-side from your workspace and your user, or the member that
sendernames. A request cannot name the ledger itself. - It learns from feedback. The
sent_textof feedback on a run is the edit it learns from. - It has nothing to go on at first. A new sender gets rewrites scored on the base rubric alone.
Latency
A single Outbound call usually takes 1 to 2 minutes: it runs the full search and scores every candidate before it answers. (A batch answers at once and runs its drafts later.) With evidence: "workspace" each evaluation also reads your conversations, so it takes longer. A call can run for up to 300 seconds before it gives up with optimizer_timeout, and it returns on the same call, so set your client timeout to at least 310 seconds. A call that sends recipient first resolves the profile and builds the brief (up to about 41 seconds more, or about 58 when intake use is on and intake changes the group of similar buyers), so allow 350 seconds for those calls, or 370 seconds where intake use is on. If your connection closes before the answer arrives, the run still finishes, and the same request again returns its result. The operation declares its expected latency on the operation catalog, so a client can budget for it.