Non-Regional
Call a specific deployment of a model by deployment ID.
Sends a synchronous predict request to the specified deployment.
post/deployment/{deployment_id}/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
deployment_idstring 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.