Skip to main content
GET
Retrieve a model

Authorizations

Authorization
string
header
required

A workspace API key in an Authorization: Bearer header. A missing header, a scheme other than Bearer, a key of the wrong shape, and a key we reject are all 401.

Path Parameters

id
string
required

The model id, exactly as the list gives it.

Response

The model.

One model, in the same envelope the list uses, with the detail-only fields under hopscotch.

id
string
Example:

"openai/gpt-4o-mini"

object
string
Example:

"model"

created
integer
owned_by
string
shutdown_date
integer

Absent when the model has no announced end.

hopscotch
object

Everything the list carries for a model, plus the five fields served only when one model is asked for by name.