Retrieve model
GET
/models/{modelid}Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Request
Path Params
modelid
string
required
Example:
babbage
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Request samples
Responses
Retrieve model(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
required
object
string
required
owned_by
string
required
permission
array[string]
required
ExampleRetrieve model
{
"id": "text-davinci-003",
"object": "model",
"owned_by": "openai",
"permission": [...]
}
Last modified: a year ago