Returns statistics about how many labs are currently active and saved
- 15 Aug 2024
- 1 Minute to read
- Print
Returns statistics about how many labs are currently active and saved
- Updated on 15 Aug 2024
- 1 Minute to read
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
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?