Use this endpoint to call the production deployment of your model.

https://model-{model_id}.api.baseten.co/production/predict

Parameters

Model ID
string
required

The ID of the model you want to call.

Authorization
string
required

Your Baseten API key, formatted with prefix Api-Key (e.g. {"Authorization": "Api-Key abcd1234.abcd1234"}).

Body

Model input
json
required

JSON-serializable model input.