Sends a synchronous predict request to the deployment promoted to the specified environment.
API key with the Api-Key prefix, e.g. Authorization: Api-Key abcd1234.abcd1234.
The name of the environment (e.g. production, staging).
JSON-serializable model input. The shape is defined by the model's predict function.
Successful synchronous prediction.
JSON-serializable output. The shape is defined by the model.