curl --request GET \ 
--url https://api.baseten.co/v1/models/{model_id} \ 
--header "Authorization: Api-Key $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>"
}

Authorizations

Authorization
string
headerrequired

You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>

Path Parameters

model_id
string
required

Response

200 - application/json
id
string
required

Unique identifier of the model

created_at
string
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 the model is deployed on