sdkDeterministic

Get approval detail

pipeline.getApprovalDetail

Drill into one approval item. Returns the artifact (draft copy, reply text, or push event), prospect context, and the agent handoff trail that produced it.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
idrequired
string
The approval item id (UUID of the ai_message_drafts row for drafts and replies).
kindrequired
string
No description.
draft | reply | push_event

Example

TypeScripttypescript
await pipeline.getApprovalDetail({
"id": "00000000-0000-4000-8000-000000000000",
"kind": "draft"
})

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