Non-Regional
Call the production environment of a model.
Sends a synchronous predict request to the deployment promoted to the production environment. The request body is forwarded directly to the model's predict function.
post/production/predict
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.