Show more

Use to navigate results, ENTER to select one, ESC to close

Type in any word to easily find the endpoint, property or group of operations you are looking for.

API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Garmat API logo

Topics

  • Introduction
  • Authentication
  • Getting Started
  • Glossary
  • Rate Limiting
  • Troubleshooting

Endpoints

  • Accounts
    • Summary of accounts and booths GET
    • Get an account GET
    • Update an existing account PUT
    • List accounts GET
    • Create an account POST
  • Alert Types
    • List alert types GET
    • Update alert types PUT
  • Alerts
    • Get history of alerts GET
    • List alerts for a booth GET
  • API Keys
    • Delete API key DELETE
    • List API keys GET
    • Create API key POST
  • Events
    • Show notification event definition GET
    • Update an existing event definition PUT
    • Delete an event definition DELETE
    • Mark all user's notifications as read POST
    • Update notification with allowed changes PATCH
    • List event notifications GET
    • Show notification detail GET
    • List notification event definitions GET
    • Create a new event definition POST
  • Login
    • Initiate login attempt POST
    • Authenticate using an API Key POST
    • Verify a magic link token POST
    • Gets the user details of the user making the request GET
  • Booths
    • Get booth's latest values for tags GET
    • Get utilization stats GET
    • List booths GET
    • Get historic runtime GET
    • Get the historic log of filter maintenances for a booth. GET
    • Get utilization timeline GET
    • Get booth recent stages GET
    • Get all booths' last updates GET
    • Get booth by id GET
    • Update booth PUT
    • Get booth runtime GET
    • Get booth revision history GET
    • Get tag history for a booth GET
    • Returns a map with filter options and their possible values GET
    • Export booth data GET
    • Get modes duration GET
    • Get booth's latest values for tags at a given timestamp GET
    • Get utilization summary GET
    • Get modes frequency GET
    • Get a summary per filter type for the booth. GET
  • Facilities
    • Get facility utilization summary GET
    • Get facility details GET
    • Update a facility PUT
    • Get utilization resume of all booths in Facility GET
    • Get frequency utilization resume of all booths in Facility GET
    • Get facility utilization timeline GET
    • List facilities GET
    • Create a facility POST
  • Regions
    • Update a region PUT
    • Delete Region DELETE
    • List regions GET
    • Create a region POST
  • Users
    • Submit a help form POST
    • Update user PUT
    • Update user invitation PUT
    • Re-send user invitation POST
    • Request a password change email POST
    • List users GET
    • Create user POST
  • PLC Provisioning
    • Retrieve a booth's provisioning data GET
    • Update a booth's provisioning data PUT
    • Create a booth provisioning data entry POST
  • Filters
    • Get a summary of filter services per booth GET
    • Get a timeline of utilization crossed with maintenance events information. GET
    • Get the historic log of filter maintenances for all booths in scope. GET
    • Get the trend of time in overuse GET
  • Reports
    • Get a cycles vs in use time report GET
  • Utilization
    • Get utilization trends GET
    • Get the utilization of all booths within scope GET
    • Get the bucketed utilization of all booths within scope GET
  • Validation
    • List validation incidents. GET
Powered by Bump.sh
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Garmat API logo

Get utilization trends

Ask AI
  • Open in ChatGPT
  • Open in Claude

  • View as Markdown
  • Copy as Markdown
GET /api/utilization/trends
Api key

Compare the time of utilization, cycles, energy, and gas usage for the requested interval vs the typical all-time stats for the same interval.

Query parameters

  • filter string

    criteria to filter by

  • start string Required

    ISO8601 formatted date marking the start of the current period

  • end string Required

    ISO8601 formatted date marking the end of the current period

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object

      Trend of utilization data

      Hide data attributes Show data attributes object
      • cycles object
        Hide cycles attribute Show cycles attribute object
        • data object

          Information about all time value, current value, and percentage of change between them.

          Hide data attributes Show data attributes object
          • all_time number

            All-time value of the requested trend.

          • current_period number

            Value of the requested trend for the current period.

          • pct_change number

            Float value with the percentual difference between current period and all-time.

      • energy_usage object
        Hide energy_usage attribute Show energy_usage attribute object
        • data object

          Information about all time value, current value, and percentage of change between them.

          Hide data attributes Show data attributes object
          • all_time number

            All-time value of the requested trend.

          • current_period number

            Value of the requested trend for the current period.

          • pct_change number

            Float value with the percentual difference between current period and all-time.

      • gas_usage object
        Hide gas_usage attribute Show gas_usage attribute object
        • data object

          Information about all time value, current value, and percentage of change between them.

          Hide data attributes Show data attributes object
          • all_time number

            All-time value of the requested trend.

          • current_period number

            Value of the requested trend for the current period.

          • pct_change number

            Float value with the percentual difference between current period and all-time.

      • median_cycles object
        Hide median_cycles attribute Show median_cycles attribute object
        • data object

          Information about all time value, current value, and percentage of change between them.

          Hide data attributes Show data attributes object
          • all_time number

            All-time value of the requested trend.

          • current_period number

            Value of the requested trend for the current period.

          • pct_change number

            Float value with the percentual difference between current period and all-time.

      • utilization_time object

        Utilization trends per mode

  • 400 application/json

    Bad Request

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

  • 401 application/json

    Unauthorized

    Hide response attribute Show response attribute object
    • error string

      Human readable version of the error status code

GET /api/utilization/trends
curl \
 --request GET 'http://localhost:4000/api/utilization/trends?start=string&end=string' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "cycles": {
      "all_time": 3,
      "pct_change": -33.333,
      "current_period": 2
    },
    "gas_usage": {
      "all_time": 10000,
      "pct_change": -25,
      "current_period": 7500
    },
    "energy_usage": {
      "all_time": 10000,
      "pct_change": 0,
      "current_period": 10000
    },
    "median_cycles": {
      "all_time": 2,
      "pct_change": 0,
      "current_period": 2
    },
    "utilization_time": {
      "Booth Off": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Cool Down": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Flash Mode": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Purge Mode": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Spray Mode": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Bake Set Pt 1": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Bake Set Pt 2": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Bake Set Pt 3": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Cycle Complete": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      },
      "Energy Conservation": {
        "all_time": 1000,
        "pct_change": -25,
        "current_period": 750
      }
    }
  }
}
Response examples (400)
{
  "error": "Error Reason"
}
Response examples (401)
{
  "error": "Error Reason"
}