get_tap_logs
Retrieve a tap's last 50 run logs to verify scheduled or manual runs, inspect status, errors, and durations, and recover publisher tokens for tracing data ingestion.
Instructions
Get the run history for a tap. Returns the last 50 run log entries sorted by most recent first, including status, record count, duration, errors, logs, and publisherToken for each run that submitted records to a pipeline. Works for both manual runs (triggered by run_tap) and scheduled runs (triggered by the platform's cron scheduler) — they share the same log. Use this to verify whether a scheduled run fired, whether any recent run's script succeeded, and to recover the publisherToken for any run if you didn't keep the original run_tap response in context. To verify the actual destination ingestion outcome — not just that the script ran — pick the relevant entry and call get_pipeline_status(publisher_token=entry.publisherToken). The tap log only records what the script did; the publisher token is how you trace a run through to whether the data actually landed in the destination.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "get_tap_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the tap to get logs for |