Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>OpenAI#retrieveThread

OpenAI API wrapper for deno.
Latest
method OpenAI.prototype.retrieveThread
import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Retrieves a thread.

Parameters

threadID: string

The ID of the thread to retrieve.

Returns

Promise<Thread>

The thread object matching the specified ID.