NAME

OpenAPI::Client::OpenAI::Path::models-model - Documentation for the /models/{model} path.

DESCRIPTION

This document describes the API endpoint at /models/{model}.

PATHS

DELETE /models/{model}

Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.

Operation ID

deleteModel

$client->deleteModel( ... );

Parameters

  • model (in path) (Required) - The model to delete

    Type: string

Responses

Status Code: 200

OK

Content Types:

GET /models/{model}

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

Operation ID

retrieveModel

$client->retrieveModel( ... );

Parameters

  • model (in path) (Required) - The ID of the model to use for this request

    Type: string

Responses

Status Code: 200

OK

Content Types:

  • application/json

    Example (See the OpenAI spec for more detail):

    {
      "id": "VAR_chat_model_id",
      "object": "model",
      "created": 1686935002,
      "owned_by": "openai"
    }

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2025 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.