method Threads.prototype.retrieveimport { Threads } from "https://deno.land/x/openai@v4.62.0/resources/beta/mod.ts"; retrieve(threadId: string, options?: Core.RequestOptions): Core.APIPromise<Thread>Retrieves a thread. ParametersthreadId: stringoptionaloptions: Core.RequestOptionsReturnsCore.APIPromise<Thread>