Get the number of matching events

Counts the events Search events of an event tag matches, across every page.

Input. The body of Search events of an event tag. page and size are required but ignored, and so is sort.

Response. The number of matching events as a bare JSON number, for example 42.

Required scope: read:custom-event-instances

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
customEvents
array of objects
required

The event tag to search, as a one-item array: only the first item is used.

customEvents*
cameras
array of objects
required

Cameras to search, at least one.

cameras*
number
required

Page number, starting at 1.

number

1 oldest first, -1 newest first. Omitted, newest first.

number
required

Number of events per page.

number
required

Start of the time range on the event time, inclusive. Unix epoch milliseconds, UTC.

number
required

End of the time range on the event time, inclusive. Unix epoch milliseconds, UTC.

Responses

400

A required value is missing, customEvents or cameras is empty, page, size, start or end is not an integer, or a number or decimal condition has a non-numeric value.

500

Internal server error.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*