Skip to main content
Module

x/openai/resources/beta/threads/threads.ts>Threads#retrieve

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
method Threads.prototype.retrieve
import { Threads } from "https://deno.land/x/openai@v4.19.0/resources/beta/threads/threads.ts";

Retrieves a thread.

Parameters

threadId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<Thread>