Kalo te dokumentacioni
API

Analitika

Çdo veprim në këtë grup: çfarë pranon, çfarë kthen dhe gabimet me të cilat mund të përgjigjet.

Veprimet

The numbers behind the Analytics page of the app: how mail arrives in the mailbox, and what became of the mail the workspace sent.

GET/analytics/mailbox

Read how mail arrives

Lejetthreads:readLexon

How mail arrives, as the Analytics page of the app shows it, for a window of 30 days up to now unless from and to say otherwise: conversations per day or per grain bucket and per hour of the day, the addresses they arrived at, the senders who wrote most, how many wait on a reply for 1, 3, 7 days or more, and the folders. A key or an app limited to particular addresses counts only the mail that arrived at them, and address narrows everything to one address.

Requires the threads:read scope.

Parametrat e pyetjes

fromstring

The start of the window, ISO 8601 with a zone. Defaults to 30 days before to.

Formatidate-time
tostring

The end of the window. Defaults to now.

Formatidate-time
offsetMinutesinteger

Minutes east of UTC to cut days and hours in, from -840 to 840. Pass the reader’s offset so a day breaks where theirs does.

Të paktën -840Më së shumti 840Parazgjedhja0
grainstring

How wide one bucket of days and series is.

Një nga"minute""hour""day"Parazgjedhja"day"
addressstring

Count only the mail delivered to this address. One the key does not reach counts nothing.

Nga 3 deri në 320 karaktere

Kthen

The numbers for the window.

Gabimet

Gabimet që mund të kthejë çdo veprim400401403404422500Katalogu i gabimeve

E disponueshme edhe në

SDK
analytics.mailbox()
CLI
openemail analytics mailbox
MCP
getMailboxInsights

GET/analytics/sending

Read what became of sent mail

Lejetemails:readLexon

What the workspace sent inside a window and what became of it, as the Analytics page of the app shows it: delivered, failed, bounced and complained, per day or per grain bucket, with the statuses, the sources, the senders and the addresses suppressed. The window is days, 30 by default and at most 365, or minutes, which wins, and it starts at the beginning of its oldest bucket. A key or an app limited to particular addresses counts only the mail sent from them.

Requires the emails:read scope.

Parametrat e pyetjes

daysinteger

Window length in days.

Të paktën 1Më së shumti 365Parazgjedhja30
minutesinteger

Window length in minutes, which wins over days.

Të paktën 1Më së shumti 525600
grainstring

How wide one bucket of days is.

Një nga"minute""hour""day"Parazgjedhja"day"
offsetMinutesinteger

Minutes east of UTC to cut the buckets in, from -840 to 840.

Të paktën -840Më së shumti 840Parazgjedhja0
addressstring

Count only the mail sent from this address. One the key does not reach counts nothing.

Nga 3 deri në 320 karaktere

Kthen

The numbers for the window.

Gabimet

Gabimet që mund të kthejë çdo veprim400401403404422500Katalogu i gabimeve

E disponueshme edhe në

SDK
analytics.sending()
CLI
openemail analytics sending
MCP
getSendingAnalytics

Objektet

MailboxInsightsobject

objectstringE detyrueshme
Një nga"mailbox_insights"
fromstringE detyrueshme
Formatidate-time
tostringE detyrueshme
Formatidate-time
grainstringE detyrueshme
Një nga"minute""hour""day"Parazgjedhja"day"
offsetMinutesintegerE detyrueshme
scannedintegerE detyrueshme

Conversations that arrived inside the window.

daysobject[]E detyrueshme
daystringE detyrueshme

The bucket: YYYY-MM-DD, YYYY-MM-DDTHH or YYYY-MM-DDTHH:MM by grain.

countintegerE detyrueshme
hoursobject[]E detyrueshme
hourintegerE detyrueshme

The hour of the day, 0 to 23, in offsetMinutes.

countintegerE detyrueshme
addressesobject[]E detyrueshme
addressstringE detyrueshme

The address the mail arrived at.

countintegerE detyrueshme
sendersobject[]E detyrueshme

The senders who wrote most, most first.

emailstring
namestring
Mund të jetë null
countinteger
lastAtstring
Formatidate-time
senderCountintegerE detyrueshme

Everyone who wrote inside the window.

waitingobject[]E detyrueshme

Conversations whose last message came from somebody else, by how many days it has waited.

bandintegerE detyrueshme

At least this many days.

countintegerE detyrueshme
unattributedintegerE detyrueshme

Mail that recorded no address it arrived at.

foldersobject[]E detyrueshme
labelstring
countinteger
unreadinteger
seriesobject[]E detyrueshme

Per bucket counts for the top addresses and senders, so each can be charted.

kindstring
keystring
daystring
countinteger

SendingAnalyticsobject

objectstringE detyrueshme
Një nga"sending_analytics"
sincestringE detyrueshme
Formatidate-time
untilstringE detyrueshme
Formatidate-time
grainstringE detyrueshme
Një nga"minute""hour""day"Parazgjedhja"day"
offsetMinutesintegerE detyrueshme
totalsobjectE detyrueshme
sendsinteger
testSendsinteger
recipientsinteger
deliveredinteger
failedinteger
bouncedinteger
complainedinteger
uncertaininteger
pendinginteger
daysobject[]E detyrueshme
daystring
sentinteger
deliveredinteger
failedinteger
bouncedinteger
complainedinteger
statusesobject[]E detyrueshme

Sends by status.

labelstringE detyrueshme

What is counted.

countintegerE detyrueshme
sourcesobject[]E detyrueshme

Sends by where they came from: the app, the API, a broadcast and the rest.

labelstringE detyrueshme

What is counted.

countintegerE detyrueshme
sendersobject[]E detyrueshme

Sends by the address they went out as.

labelstringE detyrueshme

What is counted.

countintegerE detyrueshme
suppressedobject[]E detyrueshme

Addresses that were suppressed, by reason.

labelstringE detyrueshme

What is counted.

countintegerE detyrueshme