Get power analyzer data
GET/workspaces/:workspace_id/consumption/pa/:resource_id
This endpoint returns the latest power analyzer data for a single machine or cabinet.
Request
Path Parameters
Workspace ID
Asset ID
Responses
- 200
- 400
- 500
OK response.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Apparent power average if power analyzer is enabled
Apparent power maximum if power analyzer is enabled
Apparent power minimum if power analyzer is enabled
Avg Current in A if power analyzer is enabled
Max Current in A if power analyzer is enabled
Min Current in A if power analyzer is enabled
Current unbalance average if power analyzer is enabled
Current unbalance maximum if power analyzer is enabled
Current unbalance minimum if power analyzer is enabled
Index of the cabinet line
Power factor average if power analyzer is enabled
Power factor maximum if power analyzer is enabled
Power factor minimum if power analyzer is enabled
Reactive power average if power analyzer is enabled
Reactive power maximum if power analyzer is enabled
Reactive power minimum if power analyzer is enabled
Total harmonic distortion average if power analyzer is enabled
Total harmonic distortion maximum if power analyzer is enabled
Total harmonic distortion minimum if power analyzer is enabled
Timestamp of the data
Voltage in V if power analyzer is enabled
Voltage in V if power analyzer is enabled
Voltage in V if power analyzer is enabled
[
{
"apparent_power_avg": 0,
"apparent_power_max": 0,
"apparent_power_min": 0,
"current_in_avg": 0,
"current_in_max": 0,
"current_in_min": 0,
"current_unbalance_avg": 0,
"current_unbalance_max": 0,
"current_unbalance_min": 0,
"line_index": 0,
"power_factor_avg": 0,
"power_factor_max": 0,
"power_factor_min": 0,
"reactive_power_avg": 0,
"reactive_power_max": 0,
"reactive_power_min": 0,
"total_harmonic_distortion_avg": 0,
"total_harmonic_distortion_max": 0,
"total_harmonic_distortion_min": 0,
"ts": "string",
"voltage_in_avg": 0,
"voltage_in_max": 0,
"voltage_in_min": 0
}
]
bad_request: Invalid request
- application/json
- Schema
- Example (from schema)
Schema
Message of error
{
"message": "invalid request"
}
internal_error: Internal server error
- application/json
- Schema
- Example (from schema)
Schema
Message of error
{
"message": "invalid request"
}