# Set-IntelligenceXConfigValue

Writes a single app-server configuration value.

Command 

**Module**

`IntelligenceX.PowerShell`

**Inputs**

`IntelligenceX.OpenAI.IntelligenceXClient`

Writes a single app-server configuration value.

## Syntax

```
Set-IntelligenceXConfigValue
-Key <string>
-Value <object>
[-Client <IntelligenceXClient>]
[<CommonParameters>]
```

[#](#method-set-intelligencexconfigvalue-string-object-intelligencexclient)

## Examples

### Example 1

```powershell
Set-IntelligenceXConfigValue -Key "model" -Value "gpt-5.3-codex"
```

Set the model used by default

### Example 2

```powershell
Set-IntelligenceXConfigValue -Key "stream" -Value $true; Set-IntelligenceXConfigValue -Key "maxOutputTokens" -Value 4096
```

Set a boolean or numeric value

### Example 3

```powershell
Set-IntelligenceXConfigValue -Key "responseFormat" -Value @{ type = "json_schema"; strict = $true }
```

Write a nested object using a hashtable

## Parameters

**-Key string required**

Configuration key to write.

**-Value object required**

Configuration value. Converted to JSON (string, number, boolean, array, object).

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

App-server 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:EC71CDABEE0EBC8A8E8593D4A9556067A8703C84904AD2250221B7C9E426205C -->
