Skip to content

Get OAIThreadItem

dfinke edited this page Apr 20, 2024 · 2 revisions

Get-OAIThreadItem

SYNOPSIS

Retrieves an item from an OpenAPI thread.

SYNTAX

Get-OAIThreadItem [[-ThreadId] <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Get-OAIThreadItem function retrieves an item from an OpenAPI thread based on the specified thread ID.

EXAMPLES

EXAMPLE 1

Get-OAIThreadItem -ThreadId 12345
Retrieves the item from the OpenAPI thread with the ID 12345.

PARAMETERS

-ThreadId

The ID of the thread from which to retrieve the item.

Type: Object
Parameter Sets: (All)
Aliases: thread_id

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ProgressAction

{{ 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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

https://platform.openai.com/docs/api-reference/threads/getThread

Clone this wiki locally