Inference API
π Inference by environment
Use this endpoint to call the deployment associated with the specified environment.
Parameters
The ID of the model you want to call.
The name of the modelβs environment you want to call.
Your Baseten API key, formatted with prefix Api-Key
(e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}
).
Body
JSON-serializable model input.