Skip to main content

Get spam learning status

GET 

/api/accounts/:accountId/spam_learn

Returns how far the mailbox's personal spam filter has been trained: how many ham and spam messages it has learned (nham, nspam), how many it needs (minHam, minSpam), and whether it is ready to be used. The platform's JSON is passed through unchanged.

The request is made with the session's platform access token, so a session without one gets 401. Platform failures return 424.

Request​

Responses​

Training progress of the personal spam filter, as returned by the platform.