Models

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

get/models/{model}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/models/{model}
  • Auth
    HTTP bearer

Path parameters

modelstring required
Example:gpt-6-astra

The ID of the model to use for this request

Response

OK

idstring required

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

createdinteger required

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

object'model' required

The object type, which is always "model".

owned_bystring required

The organization that owns the model.

shutdown_datestring date nullable

The date when the model will shut down, or null if not announced.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status