-
Notifications
You must be signed in to change notification settings - Fork 14
Get OAIAssistant
Retrieves OpenAI assistants.
Get-OAIAssistant [[-Name] <Object>] [-Raw] [-ProgressAction <ActionPreference>] [<CommonParameters>]
The Get-OAIAssistant function retrieves OpenAI assistants based on the specified criteria.
Get-OAIAssistant -Name "Weather Assistant"
Retrieves the assistant with the name "Weather Assistant".
Get-OAIAssistant -Raw
Retrieves the raw response of all assistants.
Specifies the name of the assistant to retrieve. If not provided, all assistants will be returned.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether to return the raw response or the selected properties of the assistants.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This function requires PowerShell version 7.4.0 or later. The Invoke-RestMethod switch -AllowInsecureRedirect is not available in earlier versions.
https://platform.openai.com/docs/api-reference/assistants/listAssistants