[api, models] create a matching log