IntelligenceX
Command

Backup-IntelligenceXThread

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>]
#

Examples

Example 1

Backup-IntelligenceXThread -ThreadId $thread.Id

Archive a thread

Example 2

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

Archive a thread after a completed review

Example 3

$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.