When $id is included I get an unauthorized request error. I would really like to have the $id specified since I'm trying to build a graph data type. Otherwise I would have to do a function call for every single item like before, since bulk operations also don't work with tables with relationships.
TL;DR
Database permissions were missing, causing inability to specify $id when creating a row through a relationship. Issue resolved by adding Database permissions to the function.