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

Get message time series data

Retrieve message counts over time with configurable granularity

GET/api/v2/analytics/time-series
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
startDatestring<date-time>

Start date for filtering (ISO 8601 format)

endDatestring<date-time>

End date for filtering (ISO 8601 format)

granularitystring

Time granularity for data points

default: "day"
Allowed:hourdayweekmonth
Header parameters
X-Request-Idstring

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

max length 128
Responses
200

Bucketed message counts and chart projections returned.

successbooleanrequired
Allowed:true
dataMessageTimeSeriesPoint[]required
Show properties
Array of MessageTimeSeriesPoint
periodstringrequired

Bucket label formatted for the requested granularity., example: 2026-W29

publishedintegerrequired
min 0
deliveredintegerrequired
min 0
failedintegerrequired
min 0
chartsAnalyticsChartsrequired

Chart-library-ready projections of the canonical data payload.

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
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/analytics/time-series' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "period": "string",
      "published": 120,
      "delivered": 116,
      "failed": 4
    }
  ],
  "charts": {}
}