Skip to main content

openai.openai.deletethread

Home > @runlightyear/openai > OpenAI > deleteThread

OpenAI.deleteThread() method

This API is in beta and may contain contain bugs. Can be used in production with caution.

Delete a thread

Signature:
deleteThread(props: DeleteThreadProps): Promise<DeleteThreadResponse>;

Parameters

ParameterTypeDescription
propsDeleteThreadProps
Returns:

Promise<DeleteThreadResponse>