Reporting API

You can add a filter like you did. Once thing to know is that date timestamps are stored as miliseconds, so you’ll want to use a filter like

{hs_created_by__gt: date}

//today's date at midnight outside of query
const now = Date.now();
const today = new Date(now).setHours(0,0,0,0);
// 1721365200000

query MyQuery {
 CRM {
 p_on24_collection {
 items {
 hs_object_id
 associations {
 note_collection__on24_to_note(filter: {hs_createdate__gt: today}) {
 total
 items
 }
 }
 }
 }
 }
}

Moderator Note: this post was reviewed for relevancy and optimized for clarity on September 30, 2026. Thank you for your contributions to the HubSpot Community!