IntelligenceX
Command

Get-IntelligenceXAccount

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

Returns the current account details.

Syntax

Get-IntelligenceXAccount
[-Client <IntelligenceXClient>]
[-Raw]
[<CommonParameters>]
#

Examples

Example 1

Get-IntelligenceXAccount

Get account info

Example 2

Get-IntelligenceXAccount -Raw

Get raw JSON account payload

Example 3

$login = Start-IntelligenceXChatGptLogin; Wait-IntelligenceXLogin -LoginId $login.LoginId; Get-IntelligenceXAccount

Verify account after login in a script

Parameters

-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
-Raw SwitchParameter optional
Returns the raw JSON-RPC payload instead of typed account info.

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.