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

List published events

GET/api/v2/events
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.

Query parameters
topicstring

Public topic ID or name.

min length 1 · max length 100
typestring
min length 1 · max length 200
limitinteger
min 1 · max 100 · default: 20
offsetinteger
min 0 · default: 0
Header parameters
X-Request-Idstring

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

max length 128
Responses
200

Published events returned with offset pagination metadata.

successbooleanrequired
Allowed:true
dataEvent[]required
Show properties
Array of Event
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
paginationOffsetPaginationrequired
Show properties
totalintegerrequired
min 0
pageintegerrequired
min 1
limitintegerrequired
min 1
totalPagesintegerrequired
min 0
hasMorebooleanrequired
400

Bad Request - Invalid input data

successbooleanrequired
requestIdstringrequired

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

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
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' \
  -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"
    }
  ],
  "pagination": {
    "total": 0,
    "page": 1,
    "limit": 1,
    "totalPages": 0,
    "hasMore": true
  }
}