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

x/openai/resources/mod.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.21.0/resources/mod.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>