## Get Instance Type

`client.instanceTypes.get(stringname, InstanceTypeGetParamsparams, RequestOptionsoptions?): InstanceType`

**get** `/v1/instance_types/{region}/{name}`

Get an instance type by region and name

### Parameters

- `name: string`

- `params: InstanceTypeGetParams`

  - `region: "us-sva-2"`

    Region name

    - `"us-sva-2"`

### Returns

- `InstanceType`

  Instance type.

  - `chipset: string`

  - `created_at: string`

    When the Instance Type was created.

  - `family: string`

  - `memory_gb: number`

  - `name: string`

  - `network_bandwidth_gbps: number`

    Network bandwidth in Gbps.

  - `region: RegionName`

    Region the resource is in.

    - `"us-sva-2"`

  - `series: string`

  - `updated_at: string`

    When the Instance Type was updated.

  - `vcpu: number`

### Example

```typescript
import NirvanaLabs from '@nirvana-labs/nirvana';

const client = new NirvanaLabs({
  apiKey: process.env['NIRVANA_LABS_API_KEY'], // This is the default and can be omitted
});

const instanceType = await client.instanceTypes.get('n1-standard-8', { region: 'us-sva-2' });

console.log(instanceType.network_bandwidth_gbps);
```

#### Response

```json
{
  "chipset": "amd-epyc-9354p",
  "created_at": "2025-01-01T00:00:00Z",
  "family": "standard",
  "memory_gb": 32,
  "name": "n1-standard-8",
  "network_bandwidth_gbps": 1,
  "region": "us-sva-2",
  "series": "n1",
  "updated_at": "2025-01-01T00:00:00Z",
  "vcpu": 8
}
```
