list_bulk_sync_executions
Retrieve execution history for bulk data syncs to monitor status and track synchronization tasks.
Instructions
List execution history for a bulk sync.
Args: id: The bulk sync ID limit: Maximum number of executions to return (default 10)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No |
Implementation Reference
- src/polytomic_mcp/server.py:577-587 (handler)The tool `list_bulk_sync_executions` is registered using the `@mcp.tool()` decorator and its handler logic performs an asynchronous GET request to the Polytomic API endpoint `/bulk/syncs/{id}/executions`.
@mcp.tool() async def list_bulk_sync_executions(id: str, limit: int = 10) -> str: """List execution history for a bulk sync. Args: id: The bulk sync ID limit: Maximum number of executions to return (default 10) """ result = await polytomic_request(f"/bulk/syncs/{id}/executions?limit={limit}") return json.dumps(result, indent=2)