Skip to main content
PATCH
Rewrite one message the agent wrote

Authorizations

X-API-Key
string
header
required

Path Parameters

agent_id
string<uuid>
required
message_id
string<uuid>
required

Body

application/json

A person's replacement words for one written message.

body
string
required

The body that sends.

Required string length: 1 - 20000
subject
string | null

The subject; null threads the message under the last one.

Maximum string length: 500

Response

Successful Response

One message the agent wrote, with everything shown beside it.

agent_version
integer
required
angle
string | null
required
body
string
required
confidence
enum<string> | null
required

The writer's own read on whether its message is ready to send unedited.

Available options:
high,
medium,
low
confidence_score
integer | null
required
confident
boolean | null
required
conversation_id
string<uuid>
required
created_at
string<date-time>
required
credits_charged
integer
required
error
string | null
required
facts_used
string[]
required
findings
OutboundFindingReadSchema · object[]
required
generated_body
string
required
generated_subject
string | null
required
id
string<uuid>
required
insufficient_data
boolean
required
is_preview
boolean
required
judge_verdict
OutboundJudgeVerdictReadSchema · object | null
required

What the independent judge said about a written message.

kind
enum<string>
required

What one written message is, which decides its rules, its length and its channel.

Available options:
email,
linkedin_connection_note,
linkedin_message,
linkedin_inmail,
reply_email,
reply_linkedin
model_key
string
required
opens_thread
boolean
required
price_tenths
integer
required
quality_score
integer | null
required
reach
enum<string>
required

How far a Use AI run may reach beyond the table's own data.

The price lever and the budget lever both key on this. NONE is one plain completion; MCP runs the research loop against ONLY the org's attached MCP tools (no Firecrawl fees, no page summaries); WEB is the full web research loop. A run that has both web and MCP executes — and bills — as WEB.

Available options:
none,
mcp,
web
reasoning
string | null
required
sent_at
string<date-time> | null
required
slot_key
string | null
required
status
enum<string>
required

Where one written message stands.

WRITING is a lease: the model is being asked. WRITTEN, QUEUED (a person is looking at it) and EDITED (a person changed it) are the three sendable states. UNPAID is written but not fully charged, so it is not sendable until the remainder is collected. SENT, REJECTED, SUPERSEDED and FAILED are terminal.

Available options:
writing,
written,
unpaid,
queued,
sent,
edited,
rejected,
superseded,
failed
subject
string | null
required