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

x/openai_deno/mod.ts>OpenAI#retrieveAssistant

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

Retrieves an assistant.

Parameters

assistantID: string

The ID of the assistant to retrieve.

Returns

Promise<Assistant>

The assistant object matching the specified ID.