Non-Regional
Call the model deployment associated with a specified environment.
Sends a synchronous predict request to the deployment promoted to the specified environment.
post/environments/{env_name}/predict
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
env_namestring required
Request body
object required
JSON-serializable model input. The shape is defined by the model's predict function.
Response
Successful synchronous prediction.
object required
JSON-serializable output. The shape is defined by the model.
Changes
No recorded changes to this operation across all 1 revision of this API.