IntelligenceX
Command

Start-IntelligenceXChatGptLogin

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

Starts the ChatGPT login flow and returns the authorization URL.

Syntax

Start-IntelligenceXChatGptLogin
[-Client <IntelligenceXClient>]
[-Raw]
[<CommonParameters>]
#

Examples

Example 1

Start-IntelligenceXChatGptLogin

Start login and open the browser

Example 2

Start-IntelligenceXChatGptLogin -Raw

Return the raw JSON response for custom handling

Example 3

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

Start login and explicitly wait for completion

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 login data.

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.