EventIntervalQuery
Query event counts by bucketed by a time interval
Query the API for a list of counts by time interval
Sample Request
curl -X POST 'https://api.jumpcloud.com/insights/directory/v1/events/interval' -H 'Content-Type: application/json' -H 'x-api-key: REPLACE_KEY_VALUE' --data '{"service": ["all"], "start_time": "2021-07-14T23:00:00Z", "end_time": "2021-07-28T14:00:00Z", "timezone": "-0500", "interval_unit": "h", "interval_value": "2"}'
post/events/interval
Request
- Base URLhttps://api.jumpcloud.com/insights/directory/v1
- AuthAPI key in header x-api-key and API key in header x-org-id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
List of bucketed event counts
Changes
No recorded changes to this operation across all 1 revision of this API.