Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/models.ts>Models#retrieve

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Models.prototype.retrieve
import { Models } from "https://deno.land/x/openai@v4.62.1/resources/models.ts";

Retrieves a model instance, providing basic information about the model such as the owner and permissioning.

Parameters

model: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<Model>