Skip to main content
Glama

activate_bulk_sync

Activate or deactivate bulk data synchronization tasks in Polytomic to control when data pipelines run.

Instructions

Activate or deactivate a bulk sync.

Args: id: The bulk sync ID active: True to activate, False to deactivate

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
activeNo

Implementation Reference

  • The implementation of the activate_bulk_sync tool, which sends a POST request to the polytomic API to activate or deactivate a bulk sync.
    async def activate_bulk_sync(id: str, active: bool = True) -> str:
        """Activate or deactivate a bulk sync.
    
        Args:
            id: The bulk sync ID
            active: True to activate, False to deactivate
        """
        body = {"active": active}
        result = await polytomic_request(f"/bulk/syncs/{id}/activate", method="POST", body=body)
        return json.dumps(result, indent=2)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/therevenueengineer/polytomic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server