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

Get an event and its deliveries

GET/api/v2/events/{eventId}
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
eventIdstringrequired

Public event identifier.

matches ^evt_
Header parameters
X-Request-Idstring

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

max length 128
Responses
200

Event and per-subscription delivery state returned.

successbooleanrequired
Allowed:true
dataEventWithDeliveriesrequired
Show properties
idstringrequired
matches ^evt_
topicstringrequired
typestringrequired
dataobjectrequired
statusstringrequired

received means the fan-out has not finished: either it has not started, or a delivery could not be enqueued and the event is waiting to be retried. It becomes fanned_out once every matching subscription has a delivery — or, if some cannot be enqueued after repeated attempts, once the event is finished with the count it actually achieved. subscriptionCount is therefore what was delivered, which can be fewer than the subscriptions that matched.

Allowed:receivedfanned_outno_subscribers
subscriptionCountintegerrequired

Deliveries enqueued for this event. Compare with your subscription count for that topic.

min 0
createdAtstring<date-time>required
deliveriesEventDelivery[]required
Show properties
Array of EventDelivery
messageIdstringrequired
matches ^msg_
urlstring<uri>required
statusstringrequired
Allowed:pendingscheduledprocessingdeliveredfailedcancelled
attemptsinteger | nullrequired
min 0
responseStatusinteger | nullrequired
min 100 · max 599
deliveredAtstring<date-time> | nullrequired
failedAtstring<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
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/events/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": {
    "id": "string",
    "topic": "string",
    "type": "string",
    "data": {},
    "status": "received",
    "subscriptionCount": 0,
    "createdAt": "2019-08-24T14:15:22Z",
    "deliveries": [
      {
        "messageId": "string",
        "url": "http://example.com",
        "status": "pending",
        "attempts": 0,
        "responseStatus": 100,
        "deliveredAt": "2019-08-24T14:15:22Z",
        "failedAt": "2019-08-24T14:15:22Z"
      }
    ]
  }
}