# Start-IntelligenceXReview

Starts a review flow for a thread. Review available syntax, parameters, pipeline guidance, and reference details in IntelligenceX PowerShell Cmdlet Reference.

Command 

**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>]
```

[#](#method-start-intelligencexreview-string-string-string-intelligencexclient-switchparameter-string)

## Examples

### Example 1

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

Review uncommitted changes

### Example 2

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

Review a specific commit

### Example 3

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

Review a base branch

### Example 4

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:66C526A23274C00B4766707F4A2CAFB9D55AF9B1E4903254AEABA81327F63341 -->
