---
title: "Returns statistics about how many labs are currently active and saved"
slug: "returns-statistics-about-how-many-labs-are-currently-active-and-saved-1"
updated: 2025-08-07T14:39:28Z
published: 2025-08-07T14:41:42Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Returns statistics about how many labs are currently active and saved

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.

SecurityAPI Key: api_keyHeader 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".

Responses200

OK Response.

<select class='api-response-data' aria-label='Media type'><option value='7bb6ba36-abd2-4bf3-8f67-a17b2fb3fa1d'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='b16decf7-7a4b-4b96-938c-77b3e0d3d40f'>Example of returning statistics about how many labs are...</option>
</select>Example of returning statistics about how many labs are currently active and saved

```json
{
  "NumActive": 571,
  "NumSaved": 451,
  "Status": 1,
  "Error": null
}
```

object  NumActiveinteger  (int32)    

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

NumSavedinteger  (int32)    

The number of currently saved labs.

Statusinteger  (int32)    

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

Errorstring   | null  

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