# Backup-IntelligenceXThread

Archives an existing thread so it no longer appears in active workflows.

Command 

**Module**

`IntelligenceX.PowerShell`

**Inputs**

`IntelligenceX.OpenAI.IntelligenceXClient`

Archives an existing thread so it no longer appears in active workflows.

## Syntax

```
Backup-IntelligenceXThread
-ThreadId <string>
[-Client <IntelligenceXClient>]
[<CommonParameters>]
```

[#](#method-backup-intelligencexthread-string-intelligencexclient)

## Examples

### Example 1

```powershell
Backup-IntelligenceXThread -ThreadId $thread.Id
```

Archive a thread

### Example 2

```powershell
$review = Start-IntelligenceXReview -ThreadId $thread.Id -Delivery immediate -TargetType uncommittedChanges; Backup-IntelligenceXThread -ThreadId $thread.Id
```

Archive a thread after a completed review

### Example 3

```powershell
$client = Connect-IntelligenceX; Backup-IntelligenceXThread -Client $client -ThreadId $thread.Id
```

Archive using an explicit client instance

## Parameters

**-ThreadId string required**

Identifier of the thread to archive.

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

Client instance to use. Defaults to the active client.

## 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:D75E19995DE37070BE11AD90F56BBA4AA7415866F2957253ABDF94AAFB339B5A -->
