Actions85
- Assessment Actions
- Assessment Data File Actions
- Assessment Data File (Invited) Actions
- Assessment Event Actions
- Assessment Invite Actions
- Assessment Preference Actions
- Assessment Template Actions
- Chatter Actions
- End User Actions
- End User Watchlist Actions
- First Party Alert Actions
- First Party Watchlist Actions
- Leak File Search Actions
- Research Actions
- Third Party Alert Actions
- Third Party Watchlist Actions
Third Party Alert → Get Third Party Alert Count
AI-generatedSummary
Returns the number of HackNotice third-party alerts matching a saved search, optional extra JSON filters, and an optional time window. Posts the merged filters to /hackalerts/count and returns one item with the count and paging info.
Inputs
- thirdPartySavedSearchId — Saved search to use as the base filter, loaded from /saved-searches/thirdparty. Its stored search JSON becomes the request body. Leave empty to start with no saved filters.
- timeRange — Limit by Time: None (default), Last Day, Last Week, Last Month, or Custom Date Range. Anything other than None removes the saved search's date fields (hours_ago, start_date, end_date, startdate, enddate) and applies the chosen window. Last Day sets hours_ago=24. Last Week and Last Month set start_date to the computed date at local midnight.
- alertAdditionalFilters — JSON object merged over the saved-search filters, so its keys win on conflict. Must be valid JSON and an object, otherwise the node errors. Default is {}.
- startDate (required) — Start of the custom range. Shown and required only when Limit by Time is Custom. Sent as start_date in YYYY-MM-DD format.
- endDate (required) — End of the custom range. Shown and required only when Limit by Time is Custom. Sent as end_date in YYYY-MM-DD format.
Output shape
One item per input item, with json {count, pageSize, pageCount}. pageSize is fixed at 50 and pageCount is ceil(count/50).
Throws an error if the API response has no numeric count (it accepts a number, a numeric string, or an object with count or total). Invalid custom dates also throw. Each output item is paired to its input item.
Examples
Example 1: Count third-party alerts from the past week for a saved search, to decide whether to fetch them
Saved Search = chosen search, Limit by Time = Last Week, Additional Filters = {}
Example 2: Count alerts for a specific month
Limit by Time = Custom Date Range, Start Date = 2026-09-01, End Date = 2026-09-30