provider Models GET /models/{model}
@utdk/openai /models/{model}
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
model path required
The ID of the model to use for this request
string

Try it

Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

retrievemodel
GET/models/{model}

Parameters

required

The ID of the model to use for this request

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.retrievemodel()