Skip to main content

Return stored logs for an account

GET 

/v1/logs/:account

Output is a downloadable text file with one JSON log entry per line, or a plain-text notice when nothing is stored

Nothing is stored unless logging is enabled for the account, either with the account logs flag or the global logs.all setting. IMAP accounts record the protocol trace, Gmail API and MS Graph accounts record their API requests, and SMTP transactions are recorded for any account that sends over SMTP.

Request

Responses

Returns the account log as a plain text stream.