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

List execution logs for a message

Returns the retained attempt history in ascending timestamp order with sensitive headers redacted.

GET/api/v2/messages/{messageId}/logs
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.

Path parameters
messageIdstringrequired
matches ^msg_
Header parameters
X-Request-Idstring

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

max length 128
Responses
200

Redacted message attempt history returned in ascending timestamp order.

successbooleanrequired
Allowed:true
dataMessageExecutionLog[]required
Show properties
Array of MessageExecutionLog
idstring<uuid>required
messageIdstringrequired
matches ^msg_
attemptNumberintegerrequired
min 0
statusstringrequired
Allowed:CREATEDACTIVEPROCESSINGSUCCESSERRORRETRY
requestUrlstring<uri> | nullrequired
requestMethodstring | nullrequired
requestHeadersRedactedHeaders | nullrequired

Header map. Authorization, cookie, proxy-authorization, set-cookie, and x-api-key values are replaced with [REDACTED].

requestBodyany | nullrequired
responseStatusinteger | nullrequired
responseHeadersRedactedHeaders | nullrequired

Header map. Authorization, cookie, proxy-authorization, set-cookie, and x-api-key values are replaced with [REDACTED].

responseBodystring | nullrequired
errorMessagestring | nullrequired
errorCodestring | nullrequired
durationinteger | nullrequired
min 0
timestampstring<date-time>required
createdAtstring<date-time>required
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
404

Not Found - Resource does not exist

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/messages/string/logs' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "messageId": "string",
      "attemptNumber": 0,
      "status": "CREATED",
      "requestUrl": "http://example.com",
      "requestMethod": "string",
      "requestHeaders": {},
      "requestBody": null,
      "responseStatus": 0,
      "responseHeaders": {},
      "responseBody": "string",
      "errorMessage": "string",
      "errorCode": "string",
      "duration": 0,
      "timestamp": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}