Skip to content

Aggregate an inbound_reply_followup task's full conversation thread

Requires VIEWER. Reads inbound message bodies from R2 (EMAIL_INBOUND_RAW).

projectId
required
string

Project (tenant) identifier. Row-level tenant isolation is enforced on every query.

taskId
required
string

Value operation task identifier.

Task + threadId + toAddress + ordered messages.

Media typeapplication/json
object
key
additional properties
any

Not authenticated (401 via requireAuthenticated) or insufficient project role (403).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Task invalid / wrong type / threadId unresolvable (single shared 404 body).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

R2 inbound raw storage (EMAIL_INBOUND_RAW) not configured.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}