entity here could be either model or chain, depending on whether you using Baseten models or Chains.
Parameters
The type of entity you want to connect to. Either
model or chain.The ID of the model or chain you want to connect to.
The name of the environment you want to connect to.
Your Baseten API key, passed as
Authorization: Bearer $BASETEN_API_KEY. Api-Key is also accepted as the scheme.