Returns statistics about how many labs are currently active and saved
    • 15 Aug 2024
    • 1 Minute to read

    Returns statistics about how many labs are currently active and saved


    Article summary

    Get
    /stats

    The Stats command returns statistics about how many labs are currently active and saved.
    NOTE: there are no query parameters for this command.

    Security
    API Key
    Header parameter nameapi_key

    All methods require an API key, which must be obtained from Skillable. This key is used by Skillable to validate your account. The key can be passed as an HTTP request header with the header name "api_key".

    Responses
    200

    OK Response.

    Example of returning statistics about how many labs are currently active and saved
    {
      "NumActive": 571,
      "NumSaved": 451,
      "Status": 1,
      "Error": null
    }
    object
    NumActive
    integer (int32)

    The number of currently active labs (starting, running, tearing down, saving, resuming, etc).

    NumSaved
    integer (int32)

    The number of currently saved labs.

    Status
    integer (int32)

    Indicates the status of the API request.
    0 = Error
    1 = Success

    Error
    string | null

    In the event of an error, this will contain a detailed error message.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.