On this page

statistics

Get statistics

This API endpoint is to view the current license usage statistics including request queue for all licenses loaded on the server.

This endpoint is part of Local instance (On-prem) specific endpoints.

GET /api/v2/statistics

Parameters

ParameterTypeExampleDescription

Responses

CodeDescription
200Success
500Internal server error
400Bad request

Example responses

{
  "timestamps": "<timestamps>",
  "licenses": [
    {
      "license_number": "<license_number>",
      "license_seats_info": {
        "seat_count": 3,
        "seats_reserved": 0,
        "seats_free": 0,
        "seats_peak_usage": 0
      }
    }
  ],
  "waiting_queue": {
    "current": 0,
    "peak": 0,
    "max_size": 3000
  }
}
{
  "status": false,
  "code": "1234"
}
{
  "status": false,
  "message": "Invalid request parameters"
}

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.