Get All Generators' Activity
GET/generators/activity
Daily activity summary for a generator within a requested 24-hour day (00:00:00 to 23:59:59 of the selected date).
Generator activity may span across multiple days and is defined by ignition on/off events. For clarity, all timestamps and durations are clamped to the boundaries of the requested day (00:00:00 to 23:59:59).
Data is synced daily. As a result, current-day data may be incomplete or slightly outdated until the next sync run is completed.Request
Responses
- 200
- 401
- 403
- 422
- 429
- 500
- 503
successful operation
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
Validation failed for the input parameters.
Too Many Requests - the endpoint's rate limit has been exceeded. Retry after the number of seconds in the Retry-After header.
Response Headers
Seconds to wait before retrying. The same value as X-RateLimit-Retry-After-Seconds when that wait is non-negative. If the computed wait is negative, Retry-After is floored at 0.
Unix timestamp of the next earliest successful request.
Seconds until the next earliest successful request.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.