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, formatted with prefix
Api-Key
(e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}
).