HackNotice icon

HackNotice

Call the HackNotice extensions API (alerts, assessments, and more)

Actions85

Assessment Event → Count Events

AI-generated

Summary

Counts assessment events by sending an optional JSON filter body to the HackNotice API. The operation returns the count and pagination estimates as one n8n item.

Inputs

  • Request Body — Optional JSON object used to filter the events being counted; defaults to {}.

Output shape

A single item with count, pageSize, and pageCount fields.

The request is a POST to /assessmentevents/count. pageSize is 50, and pageCount is the count divided by 50, rounded up. Document ID, Page Number, and Invite Code are not used by this operation.

Examples

Example 1: Count events matching a filter

Set Request Body to a JSON object containing the event filters. Leave it as {} to count without additional filters.

Links

Discussion