sdkDeterministic

Resolve reply draft

pipeline.resolveReplyDraft

Approve or reject one pending Reply Agent draft by id. Approval marks it sendable for the existing sender pipeline.

Parameters

workspaceId
string
Optional with API key auth - inferred from the key.
draftIdrequired
string
No description.
approvalStatusrequired
string
No description.
approved | rejected
editedMessage
string
No description.
rejectionReason
string
No description.

Example

TypeScripttypescript
await pipeline.resolveReplyDraft({
"draftId": "00000000-0000-4000-8000-000000000000",
"approvalStatus": "approved"
})

Response

The operation is available, but its typed response schema has not been published yet.

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline