Cmdlet
Start-IntelligenceXChatGptLogin
Starts the ChatGPT login flow and returns the authorization URL.
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
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.
Syntax
Start-IntelligenceXChatGptLogin [-Client <IntelligenceXClient>] [-Raw] [<CommonParameters>]#Parameters
- Client IntelligenceXClient
- Client instance to use. Defaults to the active client.
- Raw SwitchParameter
- Returns the raw JSON-RPC payload instead of typed login data.
Outputs
IntelligenceX.Json.JsonValue, IntelligenceX.OpenAI.AppServer.Models.ChatGptLoginStart