# Get-IntelligenceXLoadedThread

Lists threads currently loaded in the app-server process.

Command 

**Module**

`IntelligenceX.PowerShell`

**Inputs**

`IntelligenceX.OpenAI.IntelligenceXClient`

**Outputs**

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

Lists threads currently loaded in the app-server process.

## Syntax

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

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

## Examples

### Example 1

```powershell
Get-IntelligenceXLoadedThread
```

List loaded threads

### Example 2

```powershell
Get-IntelligenceXLoadedThread -Raw
```

Get raw JSON output

### Example 3

```powershell
(Get-IntelligenceXLoadedThread).Data
```

Expand loaded thread ids as plain values

## Parameters

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

Client instance to use. Defaults to the active client.

**-Raw SwitchParameter optional**

Returns the raw JSON-RPC payload instead of typed thread-id models.

## 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:99CA862605812FC7E6DB55D6AC4324831CF9687F034FEA4F53E3515F95C1A826 -->
