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 ID of the deployment you want to connect to.
Your Baseten API key, formatted with prefix
Api-Key (e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}).