List logs
/log
Query Parameters
The type of logs you want to filter by. The same value is echoed
on every row in the response (log_type field) so each row is
self-describing.
unified_proxy_apirapid_bridgewebhookmcpsync_job_cron_trigger
The date-time range to filter the logs by.
The logs created after this date-time. Should be in ISO 8601 format. If specified, lt must also be provided and should NOT be greater than 1 month apart from gt.
2021-10-01T00:00:00ZThe logs created before this date-time. Should be in ISO 8601 format.
2021-10-01T00:00:00ZThe number of logs to return. Default is 100.
The cursor to get the next set of logs.
The filters to apply to fetch only specific logs.
Filter logs by client name. Can be used when log_type is mcp.
Filter logs by client version. Can be used when log_type is mcp.
Filter logs by environment ID. Can be used when log_type is mcp.
Filter logs by integrated account ID. Can be used when log_type is mcp.
Filter logs by MCP method. Can be used when log_type is mcp.
initializenotifications/initializedtools/listtools/callprompts/listresources/listping
Filter logs by MCP server ID. Can be used when log_type is mcp.
Filter logs by method. Can be used when log_type is mcp.
Filter logs by request ID. Can be used when log_type is mcp.
The type of request for which the logs are generated. Can be used when log_type is unified_proxy_api.
proxyunified
Filter logs by resource. Can be used when log_type is mcp.
Filter logs by tool name. Can be used when log_type is mcp.
Response Body
The cursor to get the next set of logs. Null when there are no more results.
The list of logs.
unified_proxy_api · 33 properties
The deployment environment that wrote the log.
productionproductionstaging
How the request was authenticated.
api_tokensessionapi_tokenintegrated_account
Total time in milliseconds between Truto receiving the request and sending the response.
150The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795Time in milliseconds spent fetching data from the upstream API.
50The hostname that served the request.
api.truto.oneThe country code of the client (from Cloudflare).
USThe IP address of the client.
86.48.10.39The HTTP method of the request.
GETThe Cloudflare Ray ID for the request.
9fc8527ebf27a066The HTTP status code of the response.
200The full URL of the request (with sensitive paths masked).
https://api.truto.one/unified/crm/contacts?integrated_account_id=...The hostname portion of the request URL.
api.truto.oneThe path portion of the request URL.
/unified/crm/contactsThe parsed query string parameters of the request URL.
The URL scheme.
https:The User-Agent header of the request.
The HTTP protocol version.
HTTP/2The integrated account that the request was made against.
1ba1f401-7183-47c5-9e39-e8e257e3c795Whether the integrated account's credentials need to be refreshed.
The integration name that handled the request.
hubspotunified_proxy_apiunified_proxy_api
Internal log messages captured during request/job processing.
["Token still valid — no refresh needed"]Human-readable summary of the log event.
2026-05-16T06:28:27.040Z INFO 86.48.10.39 (9fc8527ebf27a066) GET https://api.truto.one/unified/crm/contacts 200The Truto method that was called (list, get, create, update, delete, or a custom method name).
listUpstream HTTP requests made to third-party APIs during processing.
2 properties
Whether the request was served by a Unified API mapping or a raw Proxy API passthrough.
unifiedunifiedproxy
The Truto resource that was called.
contactsThe response headers returned to the client.
The number of results returned by a list operation.
The service that generated the log.
truto-apiThe time at which the log entry was recorded.
2026-05-16T06:28:27.040ZThe ID of the authenticated user, if applicable.
rapid_bridge · 15 properties
The deployment environment that wrote the log.
productionproductionstaging
The Durable Object class that emitted the log.
sync_job_runsync_job_run
The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795The integrated account the sync job is running against.
1ba1f401-7183-47c5-9e39-e8e257e3c795The integration the sync job is running against.
hubspotrapid_bridgerapid_bridge
Internal log messages captured during request/job processing.
["Token still valid — no refresh needed"]Human-readable summary of the log event.
2026-05-16T06:28:27.040Z INFO 86.48.10.39 (9fc8527ebf27a066) GET https://api.truto.one/unified/crm/contacts 200The Truto method being executed by this sync step.
listThe service that generated the log.
truto-apiThe sync job that was triggered.
The lifecycle event being logged for the sync job run.
completedThe specific sync job run.
The time at which the log entry was recorded.
2026-05-16T06:28:27.040ZWhen the sync job was triggered by a webhook, the originating webhook ID.
webhook · 11 properties
The deployment environment that wrote the log.
productionproductionstaging
The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795The event that triggered the webhook delivery.
sync_job_run:createdwebhookwebhook
Internal log messages captured during request/job processing.
["Token still valid — no refresh needed"]Human-readable summary of the log event.
2026-05-16T06:28:27.040Z INFO 86.48.10.39 (9fc8527ebf27a066) GET https://api.truto.one/unified/crm/contacts 200The Cloudflare Queue that handled the delivery.
webhookswebhooks
The service that generated the log.
truto-apiThe time at which the log entry was recorded.
2026-05-16T06:28:27.040ZThe HTTP status code returned by the customer's webhook endpoint.
200The webhook configuration that fired.
mcp · 36 properties
The deployment environment that wrote the log.
productionproductionstaging
How the request was authenticated.
api_tokensessionapi_tokenintegrated_account
The name of the MCP client.
Claude-UserThe version of the MCP client.
Total time in milliseconds between Truto receiving the MCP request and sending the response.
120The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795Time in milliseconds spent fetching data from the upstream API while servicing the MCP request.
40The hostname that served the request.
api.truto.oneThe country code of the client (from Cloudflare).
USThe IP address of the client.
86.48.10.39The HTTP method of the request.
GETThe Cloudflare Ray ID for the request.
9fc8527ebf27a066The HTTP status code of the response.
200The full URL of the request (with sensitive paths masked).
https://api.truto.one/unified/crm/contacts?integrated_account_id=...The hostname portion of the request URL.
api.truto.oneThe path portion of the request URL.
/unified/crm/contactsThe parsed query string parameters of the request URL.
The URL scheme.
https:The User-Agent header of the request.
The HTTP protocol version.
HTTP/2The integrated account this MCP server is bound to.
1ba1f401-7183-47c5-9e39-e8e257e3c795The integration name that handled the MCP request.
hubspotmcpmcp
Internal log messages captured during request/job processing.
["Token still valid — no refresh needed"]The MCP protocol method.
tools/listinitializenotifications/initializedtools/listtools/callprompts/listresources/listping
The MCP server ID.
The MCP server name.
Human-readable summary of the log event.
2026-05-16T06:28:27.040Z INFO 86.48.10.39 (9fc8527ebf27a066) GET https://api.truto.one/unified/crm/contacts 200The Truto method backing the called tool.
mcpmcp
The Truto resource backing the called tool.
The response headers returned to the client.
The service that generated the log.
truto-apiThe time at which the log entry was recorded.
2026-05-16T06:28:27.040ZThe MCP tool that was called (only set for tools/call).
The ID of the authenticated user, if applicable.
sync_job_cron_trigger · 8 properties
The alarm classifier emitted by the underlying Durable Object.
sync_job_cron_triggersync_job_cron_trigger
The deployment environment that wrote the log.
productionproductionstaging
The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795sync_job_cron_triggersync_job_cron_trigger
Internal log messages captured during request/job processing.
["Token still valid — no refresh needed"]Human-readable summary of the log event.
2026-05-16T06:28:27.040Z INFO 86.48.10.39 (9fc8527ebf27a066) GET https://api.truto.one/unified/crm/contacts 200The service that generated the log.
truto-apiThe time at which the log entry was recorded.
2026-05-16T06:28:27.040Ztruto logs --log-type unified_proxy_api -o jsonimport Truto from '@truto/truto-ts-sdk';
const truto = new Truto({
token: '<your_api_token>',
});
for await (const item of truto.log.list()) {
console.log(item);
}import asyncio
from truto_python_sdk import TrutoApi
truto_api = TrutoApi(token="<your_api_token>")
async def main():
async for item in truto_api.logs.list():
print(item)
asyncio.run(main())curl -X GET 'https://api.truto.one/log' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/log', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/log"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())