NAME

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

DESCRIPTION

This document describes the API endpoint at /models.

PATHS

GET /models

Lists the currently available models, and provides basic information about each one such as the owner and availability.

Operation ID

listModels

$client->listModels( ... );

Parameters

Responses

Status Code: 200

OK

Content Types:

  • application/json

    Example (See the OpenAI spec for more detail):

    {
       "data" : [
          "{\n  \"id\": \"VAR_chat_model_id\",\n  \"object\": \"model\",\n  \"created\": 1686935002,\n  \"owned_by\": \"openai\"\n}\n"
       ]
    }

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.