List logs
Every request an API key has made, newest first, by method, outcome and time.
opensend logs list [flags]Flags
--qstringText to search for. Only items that contain it are returned. Up to 40 characters.
--limitintegerHow many items to return, from 1 to 100. Without it you get 25.
--offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.--afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
--beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.--rangestringThe period to look at:
today,week,month,year,allorcustom. Without it there is no limit in time.One of
todayweekmonthyearallcustom--fromstringThe first day of a
customperiod, as a date such as2026-11-01.--tostringThe last day of a
customperiod, as a date such as2026-11-30.--methodstringOnly requests with this HTTP verb.
One of
GETPOSTPATCHDELETE--outcomestringOnly requests that ended this way:
success,client_errororserver_error.One of
successclient_errorserver_error--key-idstringOnly requests made with this API key.
--resource-idstringOnly requests that made or changed the thing with this id, such as an email.
--toolstringOnly MCP requests that called this tool.
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"list"Always
list.dataobject[]The items on this page.
data[].object"log"Always
log.data[].idstringThe id of the log entry.
data[].methodstringThe HTTP verb of the request.
One of
GETPOSTPATCHDELETEdata[].pathstringThe path that was asked for.
data[].statusintegerThe HTTP status of the answer.
data[].outcomestringsuccessfor a 2xx answer,client_errorfor 4xx,server_errorfor 5xx.One of
successclient_errorserver_errordata[].durationMsnumberHow long the request took, in milliseconds.
data[].keyIdstring | nullThe id of the API key that made it, or
null.data[].modestringtestwhen a test key made the request, otherwiselive.One of
livetestdata[].userAgentstringWhat the client called itself.
data[].requestIdstringThe id the answer carried in its request id header. Empty on an older entry.
data[].errorobject | nullWhy the request failed, or
nullwhen it did not.data[].error.typestringThe kind of error, as in the answer.
data[].error.codestringThe code of the error, as in the answer.
data[].error.messagestringWhat the answer said was wrong.
data[].resourceobject | nullWhat a request that changed something made or changed, or
null.data[].resource.objectstringThe kind of thing, such as
emailordomain.data[].resource.idstringIts id.
data[].toolstring | nullThe tool an MCP request called, such as
emails_send, ornull.data[].createdAtstringWhen the request was made.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.