Skip to main content
GET
Get the overview report

Authorizations

Authorization
string
header
required

An API key (onx_sk_…) created in OnlyX under Settings → API & MCP, or an OAuth access token (onx_at_…) issued to a connected app. Send it as Authorization: Bearer <credential>. API keys may also be sent as X-API-Key: <key>.

Query Parameters

creatorId
string | null

Only this creator (cre_…). Without it, every creator the credential can see. A creator the credential cannot see is 404 CREATOR_NOT_FOUND, never an empty report.

Required string length: 1 - 64
days
integer
default:30

The last N calendar days including today (workspace time zone), 1 to 366. Ignored when start or end is sent.

Required range: 1 <= x <= 366
start
string<date> | null

First day of the window (YYYY-MM-DD, workspace time zone), included.

end
string<date> | null

Last day of the window (YYYY-MM-DD), included. The window never extends past today and keeps at most its latest 366 days.

Response

The cached activity report for the window.

The dashboard's activity report for a window, served from cache. New fields may be added.

aiShare
number | null
required

Share of delivered messages the AI wrote, 0 to 1. null when nothing was sent.

conversations
OverviewConversations · object
required
creators
OverviewCreator · object[]
required

Per creator.

daily
OverviewDay · object[]
required

One entry per day of the window, oldest first.

days
integer
required

Days in the window.

end
string
required

Last day of the window, included.

fans
OverviewFans · object
required
generatedAt
string | null
required

When this cached report was computed (UTC). It may be up to about five minutes old.

hourly
OverviewHour · object[]
required

Messages by hour of day over the whole window.

inbox
OverviewInbox · object
required

The inbox right now (not windowed).

messages
MessageCounts · object
required
replyTime
ReplyTime · object
required
start
string
required

First day of the window, included.

timezone
string
required