IntelligenceX
Command

Start-IntelligenceXReview

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient
Outputs
IntelligenceX.Json.JsonValue IntelligenceX.OpenAI.AppServer.Models.ReviewStartResult

Starts a review flow for a thread.

Syntax

Start-IntelligenceXReview
-Delivery <string>
-TargetType <string>
-ThreadId <string>
[-Client <IntelligenceXClient>]
[-Raw]
[-TargetValue <string>]
[<CommonParameters>]
#

Examples

Example 1

Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType uncommittedChanges

Review uncommitted changes

Example 2

Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType commit -TargetValue 3f2a9c1

Review a specific commit

Example 3

Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType baseBranch -TargetValue "main"

Review a base branch

Example 4

Start-IntelligenceXReview -ThreadId $thread.id -Delivery immediate -TargetType commit -TargetValue 3f2a9c1 -Raw

Return raw JSON output

Parameters

-Delivery string required
Delivery mode (for example immediate).
-TargetType string required
Target type: uncommittedChanges, baseBranch, commit, custom.
-ThreadId string required
Thread identifier.
-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
-Raw SwitchParameter optional
Return raw JSON response.
-TargetValue string optional
Target value (branch name, commit SHA, or custom text).

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.