IntelligenceX
Cmdlet

Backup-IntelligenceXThread

Namespace IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

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

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

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.

Syntax

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

Parameters

ThreadId string requiredposition: namedpipeline: false
Identifier of the thread to archive.
Client IntelligenceXClient optionalposition: namedpipeline: true (ByValue)
Client instance to use. Defaults to the active client.