List logs
/log
You can use this endpoint to list the Unified and Proxy API, sync job run (RapidBridge), webhook delivery, MCP and sync job cron trigger logs for your Truto account.
Time Range Filtering
You can filter logs by time range using the created_at query parameter. This parameter accepts an object with gt (greater than) and lt (less than) properties, both in ISO format.
- If
created_at[gt]is provided,created_at[lt]must also be provided - The time range between
created_at[gt]andcreated_at[lt]cannot exceed 1 month - If
created_at[lt]is not provided, it defaults to the current time - If
created_at[gt]is not provided, no time range filtering is applied
Example:
"created_at": {
"gt": "2024-03-01T00:00:00.000Z",
"lt": "2024-03-15T00:00:00.000Z"
}
} ```
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 and maximum 100.
The cursor to get the next set of logs.
The filters to apply to fetch only specific logs. Repeat a key to match any of several values, for example log_type_filter[integration][]=hubspot&log_type_filter[integration][]=salesforce.
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. Works for every log type; only your own environments are searched.
Filter webhook logs by event. Use when log_type is webhook. Matches the event_type field on the returned rows.
Filter logs by integrated account ID. Works for every log type except sync_job_cron_trigger.
Filter logs by integration slug. Works for unified_proxy_api, mcp, rapid_bridge and webhook.
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 RapidBridge logs by sync job ID. Use when log_type is rapid_bridge.
Filter RapidBridge logs by sync job run event (e.g. record_error, failed). Use when log_type is rapid_bridge.
Filter RapidBridge logs to a single sync job run. Use when log_type is rapid_bridge to fetch a run's execution logs, including the failure cause of a failed run (the failure reason is logged here, not stored on the run row).
Filter logs by tool name. Can be used when log_type is mcp.
Filter logs by webhook ID. Use when log_type is webhook or rapid_bridge.
Response Body
Present and true when the search failed or timed out; result is then empty. Retry the request.
The cursor to get the next set of logs. Null when there are no more results.
The list of logs.
unified_proxy_api · 34 properties
The Truto deployment that wrote the log. On api.truto.one this is production.
productionHow the request was authenticated. mcp_oauth is a call made through the Platform MCP server.
api_tokensessionapi_tokenintegrated_accountmcp_oauth
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. On mcp rows the token
segment is masked in full, so the value is always
/mcp/[redacted] and identifies nothing — use
mcp_server_id / mcp_server_name instead.
/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.
true when the call was refused because the integrated account is stale (needs_reauth and unchanged for 7 days): Truto answered 401 with truto_error_code: integrated_account_needs_reauth without calling the provider.
The integration name that handled the request.
hubspotunified_proxy_apiunified_proxy_api
Log messages captured while Truto handled the request or job. Each entry is cut to 200 characters.
["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 · 20 properties
The Truto deployment that wrote the log. On api.truto.one this is production.
productionWhich Truto component wrote the log. Always sync_job_run on these rows.
sync_job_runsync_job_run
The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795Time in milliseconds spent fetching data from the upstream API for this sync step.
50The integrated account the sync job is running against.
1ba1f401-7183-47c5-9e39-e8e257e3c795The integration the sync job is running against.
hubspotrapid_bridgerapid_bridge
Log messages captured while Truto handled the request or job. Each entry is cut to 200 characters.
["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 200On a row about one step's request (most rows), the Truto
method that step ran (list, get, create, ...), paired
with resource. On a row about the run itself, the HTTP
method Truto used to control the run (for example PUT when
the run starts, DELETE when its state is cleared). Some
run-level rows carry no method.
listThe number of records produced by this sync step.
100The resource this sync step fetched or transformed.
contactsThe service that generated the log.
truto-apiThe sync job that was triggered.
The lifecycle event being logged for the sync job run. This is
the field that carries run outcome on this log type — there is
no status field on these rows.
completedThe specific sync job run.
The time at which the log entry was recorded.
2026-05-16T06:28:27.040ZThe sync-job runtime version that produced the run.
41234
The webhook this sync job run sends its events to.
The HTTP status code returned when the sync job posted to its configured webhook. Unrelated to the outcome of the run itself.
200webhook · 15 properties
The Truto deployment that wrote the log. On api.truto.one this is production.
productionWhich Truto component wrote the log. Always webhook_delivery on these rows.
webhook_deliverywebhook_delivery
The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795The event that triggered the webhook delivery. Filter on it with
the event key of log_type_filter.
sync_job_run:createdThe integrated account the event originated from, when the payload identifies one.
The integration slug the event originated from, when the payload identifies one.
webhookwebhook
Log messages captured while Truto handled the request or job. Each entry is cut to 200 characters.
["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 200Which delivery path emitted the row — deliver for the first
attempt, alarm for a scheduled retry, storage for an error
about the events Truto keeps for this webhook (for example
nearing or reaching its storage limit; at most one an hour of
each kind). This is not a Truto API method.
deliverdeliveralarmstorage
The service that generated the log.
truto-apiOnly ever set to error, on a failed or skipped delivery.
Absent on a successful delivery — read webhook_endpoint_status
for the endpoint's response code.
errorerror
The time at which the log entry was recorded.
2026-05-16T06:28:27.040ZThe HTTP status code returned by the customer's webhook endpoint. Absent for connection-level failures, where no HTTP response was received.
200The webhook configuration that fired.
mcp · 37 properties
The Truto deployment that wrote the log. On api.truto.one this is production.
productionHow the request was authenticated. mcp_oauth is a call made through the Platform MCP server.
api_tokensessionapi_tokenintegrated_accountmcp_oauth
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. On mcp rows the token
segment is masked in full, so the value is always
/mcp/[redacted] and identifies nothing — use
mcp_server_id / mcp_server_name instead.
/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-e8e257e3c795true when the tool call was refused because the integrated account is stale (needs_reauth and unchanged for 7 days). The client gets an isError result, and Truto does not call the provider.
The integration name that handled the MCP request.
hubspotmcpmcp
Log messages captured while Truto handled the request or job. Each entry is cut to 200 characters.
["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 · 15 properties
Always sync_job_cron_trigger on these rows.
sync_job_cron_triggersync_job_cron_trigger
The Truto deployment that wrote the log. On api.truto.one this is production.
productionHow many times this fire has been retried after a temporary error. 0 on the first try.
0The sync job cron trigger that fired.
1ba1f401-7183-47c5-9e39-e8e257e3c795The Truto environment in which the log was generated.
1ba1f401-7183-47c5-9e39-e8e257e3c795When the trigger fired.
sync_job_cron_triggersync_job_cron_trigger
Log messages captured while Truto handled the request or job. Each entry is cut to 200 characters.
["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 200What the fire did:
created: a sync job run was created.duplicate: this fire was already handled, so no second run was created.skipped_paused: the integrated accounts the run would call are paused stale accounts. Truto wrote afailedrun instead of starting one (seesync_job_run_id).skipped_trigger_inactive: the trigger is inactive, so no run was created.trigger_not_found: the trigger, or something the run needs, no longer exists. The trigger stops firing.run_not_completed: an earlier run of the sync job has not finished, so no run was created. Truto sends async_job_cron_trigger:failedevent.deferred: Truto hit a temporary error and will retry this fire (with a higherattempt).failed: the fire failed and created no run.
createdcreatedduplicateskipped_pausedskipped_trigger_inactivetrigger_not_foundrun_not_completeddeferredfailed
The service that generated the log.
truto-apiWhy the fire created no run. trigger_inactive when the trigger is inactive; needs_reauth_paused when its integrated accounts are paused stale accounts.
trigger_inactiveneeds_reauth_paused
The sync job cron trigger that fired. Same as entity_id.
1ba1f401-7183-47c5-9e39-e8e257e3c795Set when outcome is skipped_paused. The failed run Truto wrote instead of starting one.
The 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())