Help Page Home

# GET SessionMachines/Count

Get the number of session machines.

## Request Information

### Parameters

Name | Description | Additional information
--- | --- | ---
name | See Filtering, Arranging, and Paging. | Type: String
filterBy | See Filtering, Arranging, and Paging. The supported filters are: All: All session machines. NotDeleted: All session machines that are not currently being deleted. (default) CurrentVersion: All session machines that are at the current version of their session machine catalog. OldVersion: All session machines that are not at the current version of their session machine catalog. Allocated: All session machines that are allocated. Draining: All session machines that are draining user sessions. UpdatePending: All session machines that are pending update. NotUsed: All session machines that are not used as part of a delivery group. | Type: Filter
filterProp | See Filtering, Arranging, and Paging. | Type: String

## Response Information

Number of session machines.

### Response type

Number

### Response body formats

#### application/json, text/json

Sample:

    1