The APIs typically create a task after completing execution. These tasks are created for audit purposes and cannot be disabled. You may create custom fields and trigger to differentiate the tasks created by APIs.