# Get-IntelligenceXModel

Lists models available for the current transport context.

Command 

**Module**

`IntelligenceX.PowerShell`

**Inputs**

`IntelligenceX.OpenAI.IntelligenceXClient`

**Outputs**

`IntelligenceX.Json.JsonValue` `IntelligenceX.OpenAI.AppServer.Models.ModelListResult`

Lists models available for the current transport context.

## Syntax

```
Get-IntelligenceXModel
[-Client <IntelligenceXClient>]
[-Raw]
[<CommonParameters>]
```

[#](#method-get-intelligencexmodel-intelligencexclient-switchparameter)

## Examples

### Example 1

```powershell
Get-IntelligenceXModel
```

List available models

### Example 2

```powershell
Get-IntelligenceXModel -Raw
```

List models as raw JSON (app-server transport only)

### Example 3

```powershell
(Get-IntelligenceXModel).Models | Select-Object Id
```

Filter to model ids for selection prompts

## Parameters

**-Client IntelligenceXClient optionalpipeline: true (ByValue)**

Client instance to use. Defaults to the active client.

**-Raw SwitchParameter optional**

Returns raw JSON-RPC payload (app-server transport only).

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:7040F8B67BA9EFD05CA879F88980D5549A7B8D6296E1864F8744F4AF79716936 -->
