// Model defintion api/models/user.js module.exports = { attributes: { name: "string", "posts": { collection: "post", via: "user" } }, // beforeFind hook to modify the request before it hits the find blueprint // other hooks possible, with the naming schema of controlBefore*Blueprint controlBeforeFind: function ( req, res, next ) { // modify req.options.where OR req.body OR req.query as you need next(); } };