Skip to content
GitLab

akili dlq

Manage the dead letter queue (DLQ). When data product executions fail, the failed records are sent to the DLQ for inspection and replay. Use these commands to diagnose failures, replay individual or batches of entries, and purge old entries.

List DLQ entries, optionally filtered by product.

Flags:

FlagShortDefaultDescription
--productFilter by product name or ID

Examples:

Terminal window
# List all DLQ entries for the tenant
akili dlq list
# Filter by product
akili dlq list --product daily-orders
# As JSON
akili dlq list --json

Inspect a single DLQ entry with full details including the error message, payload, and replay count.

Arguments:

ArgumentTypeRequiredDescription
idstringyesDLQ entry ID

Examples:

Terminal window
# Inspect a DLQ entry
akili dlq get dlq-abc-123
# As JSON to see full payload
akili dlq get dlq-abc-123 --json

Replay a single DLQ entry, re-executing the failed record.

Arguments:

ArgumentTypeRequiredDescription
idstringyesDLQ entry ID

Flags:

FlagShortDefaultDescription
--use-current-versionfalseReplay using the current product version instead of the original

Examples:

Terminal window
# Replay a DLQ entry with original version
akili dlq replay dlq-abc-123
# Replay using the latest product version
akili dlq replay dlq-abc-123 --use-current-version

Replay multiple DLQ entries in a single operation.

Flags:

FlagShortDefaultDescription
--idsComma-separated list of DLQ entry IDs (required)
--use-current-versionfalseReplay using the current product version

Examples:

Terminal window
# Replay multiple entries
akili dlq replay-batch --ids dlq-abc-123,dlq-def-456,dlq-ghi-789
# Replay with current version
akili dlq replay-batch --ids dlq-abc-123,dlq-def-456 --use-current-version

Purge (permanently delete) a single DLQ entry.

Arguments:

ArgumentTypeRequiredDescription
idstringyesDLQ entry ID

Examples:

Terminal window
# Purge a single entry
akili dlq purge dlq-abc-123

Bulk purge DLQ entries older than a specified number of days. Requires the --confirm flag.

Flags:

FlagShortDefaultDescription
--older-than-daysPurge entries older than this many days (required)
--confirmfalseConfirm the bulk purge (required)

Examples:

Terminal window
# Purge entries older than 30 days
akili dlq purge-all --older-than-days 30 --confirm
# Without --confirm, the command will fail:
akili dlq purge-all --older-than-days 30
# ERROR: Use --confirm to purge DLQ entries older than 30 days