Retrieve log
One request: what was asked, what was answered and how long it took.
opensend logs get <id>Flags
<id>stringRequiredThe id of the item. Up to 64 characters.
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"log"Always
log.idstringThe id of the log entry.
methodstringThe HTTP verb of the request.
One of
GETPOSTPATCHDELETEpathstringThe path that was asked for.
statusintegerThe HTTP status of the answer.
outcomestringsuccessfor a 2xx answer,client_errorfor 4xx,server_errorfor 5xx.One of
successclient_errorserver_errordurationMsnumberHow long the request took, in milliseconds.
keyIdstring | nullThe id of the API key that made it, or
null.modestringtestwhen a test key made the request, otherwiselive.One of
livetestuserAgentstringWhat the client called itself.
requestIdstringThe id the answer carried in its request id header. Empty on an older entry.
errorobject | nullWhy the request failed, or
nullwhen it did not.error.typestringThe kind of error, as in the answer.
error.codestringThe code of the error, as in the answer.
error.messagestringWhat the answer said was wrong.
resourceobject | nullWhat a request that changed something made or changed, or
null.resource.objectstringThe kind of thing, such as
emailordomain.resource.idstringIts id.
toolstring | nullThe tool an MCP request called, such as
emails_send, ornull.createdAtstringWhen the request was made.