Retrieve model

GET /models/{model}

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

Path parameters

  • model string Required

    The ID of the model to use for this request

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id string Required

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

    • created integer Required

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

    • object string Required

      The object type, which is always "model".

      Value is model.

    • owned_by string Required

      The organization that owns the model.

GET /models/{model}
curl \
 -X GET https://api.openai.com/v1/models/gpt-3.5-turbo \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": "string",
  "created": 42,
  "object": "model",
  "owned_by": "string"
}