Skip to main content

Get workspace status and alarms

GET 

/workspaces/:workspace_id/status-and-alarms

This endpoint returns the status and alarms data for the workspace.

Request

Path Parameters

    workspace_id stringrequired

    Workspace ID

Query Parameters

    start date-timerequired

    Start date of the data range

    end date-timerequired

    End date of the data range

Responses

OK response.

Schema

    machines

    object[]

    required

    Industrial machines of the workspace

  • Array [

  • alarm booleanrequired

    Alarm status of the machine

    asset_id stringrequired

    ID of the machine

    asset_type stringrequired

    Type of the machine

    carbon_footprint doublerequired

    Carbon footprint of the machine

    d_carbon_footprint doublerequired

    Carbon footprint change of the machine

    d_total_alarm_time doublerequired

    Total alarm time change of the machine in seconds

    d_total_energy_cost doublerequired

    Total energy cost change of the machine

    d_total_idle_time doublerequired

    Total idle time change of the machine in seconds

    d_total_offline_time doublerequired

    Total offline time change of the machine in seconds

    d_total_power_consumption doublerequired

    Total power consumption change of the machine in kWh

    d_total_working_time doublerequired

    Total working time change of the machine in seconds

    d_utilization_rate doublerequired

    Utilization rate change of the machine

    h_alarm

    object[]

    required

    Historical alarm status of the machine

  • Array [

  • alarm doublerequired

    Value of the alarm data

    ts stringrequired

    Date of the data

  • ]

  • h_status

    object[]

    required

    Historical status of the machine

  • Array [

  • idle doublerequired

    Value of the idle data

    offline doublerequired

    Value of the offline data

    ts stringrequired

    Date of the data

    working doublerequired

    Value of the working data

  • ]

  • name stringrequired

    Name of the machine

    status stringrequired

    Status of the machine

    total_alarm_time doublerequired

    Total alarm time of the machine in seconds

    total_energy_cost doublerequired

    Total energy cost of the machine

    total_idle_time doublerequired

    Total idle time of the machine in seconds

    total_offline_time doublerequired

    Total offline time of the machine in seconds

    total_power_consumption doublerequired

    Total power consumption of the machine in kWh

    total_working_time doublerequired

    Total working time of the machine in seconds

    utilization_rate doublerequired

    Utilization rate of the machine

  • ]

Loading...