Skip to main content
GET
/
v1
/
models
/
{model_id}
cURL
curl --request GET \
--url https://api.baseten.co/v1/models/{model_id} \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "deployments_count": 123,
  "production_deployment_id": "<string>",
  "development_deployment_id": "<string>",
  "instance_type_name": "<string>",
  "team_name": "<string>"
}

Authorizations

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

model_id
string
required

Response

200 - application/json

A model.

id
string
required

Unique identifier of the model

created_at
string<date-time>
required

Time the model was created in ISO 8601 format

name
string
required

Name of the model

deployments_count
integer
required

Number of deployments of the model

production_deployment_id
string | null
required

Unique identifier of the production deployment of the model

development_deployment_id
string | null
required

Unique identifier of the development deployment of the model

instance_type_name
string
required

Name of the instance type for the production deployment of the model

team_name
string
required

Name of the team associated with the model.