Skip to content

Models

List models
ModelListPage models().list(ModelListParamsparams = ModelListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/models
Retrieve model
Model models().retrieve(ModelRetrieveParamsparams = ModelRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/models/{model}
Delete a fine-tuned model
ModelDeleted models().delete(ModelDeleteParamsparams = ModelDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/models/{model}
ModelsExpand Collapse
class Model:

Describes an OpenAI model offering that can be used with the API.

String id

The model identifier, which can be referenced in the API endpoints.

long created

The Unix timestamp (in seconds) when the model was created.

JsonValue; object_ "model"constant"model"constant

The object type, which is always "model".

String ownedBy

The organization that owns the model.

class ModelDeleted:
String id
boolean deleted
String object_