webix jet work with models and DataCollection

Hello,
i’m working on an app with a datatable.
Following examples, to load data into the grid, I use: grid.sync(collection)
The collection object is this:
export const collection = new webix.DataCollection({url: “http://localhost/data/data.json”});

How can I pass some parameters the url? I’ve tried to create and export a function linke this:

export function getData(param){
return new webix.DataCollection({ url: “http://localhost/data/data.json”, params: {param} });
}

But it does not send any params.
Is this the correct approach? I cannot find any specific documentation about to use models in “standard” ways.

thank you