Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Get DLQ statistics

Counts failed messages in the calling credential’s environment.

GET/api/v2/dlq/stats
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Failed-message counts and time bounds returned.

successbooleanrequired
Allowed:true
dataobjectrequired
Show properties
totalFailedintegerrequired
min 0
oldestFailurestring<date-time> | nullrequired
newestFailurestring<date-time> | nullrequired
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/dlq/stats' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": {
    "totalFailed": 0,
    "oldestFailure": "2019-08-24T14:15:22Z",
    "newestFailure": "2019-08-24T14:15:22Z"
  }
}