Retrieve log
One request: what was asked, what was answered and how long it took.
logs_getArguments
idstringRequiredThe id of the item. Up to 64 characters.
Returns
The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.
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.userAgentstringWhat 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.