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>" }
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Authorization: Api-Key <Your_Api_Key>
A model.
Was this page helpful?