sdkProvider-backed

List email dead letters

pipeline.listEmailDeadLetters

List sanitized native-email delivery failures for the selected workspace. Payloads and credentials are never returned.

Parameters

workspaceIdrequired
string
No description.
status
string
No description.
pending | failed | replayed
limit
number
No description.

Example

TypeScripttypescript
await pipeline.listEmailDeadLetters({
"workspaceId": "00000000-0000-4000-8000-000000000000"
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"taskId": {
"type": "string"
},
"taskType": {
"type": "string"
},
"lastError": {
"type": "string"
},
"attempts": {
"type": "integer"
},
"maxAttempts": {
"type": "integer"
},
"status": {
"type": "string",
"enum": [
"pending",
"failed",
"replayed"
]
},
"nextRetryAt": {
"type": "string"
},
"replayedAt": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"taskId",
"taskType",
"lastError",
"attempts",
"maxAttempts",
"status",
"createdAt",
"updatedAt"
]
}
}
},
"required": [
"data"
]
}

Exceptions

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