Inference
Run Inference
Send input features to a deployed model and receive a prediction. The model container must be in ACTIVE status.
POST
Authentication
Pass yourimp_ API key as a Bearer token:
user_id is resolved server-side from the key — do not include it in the request body.
Request body
The ID of the deployed model to call. Find this on the Models page in the dashboard.Example:
clf-titanic-survivedA JSON object mapping feature column names to their values, exactly as they appear in the training dataset.
Response
The model’s output. For classification models this is the predicted class label (e.g.
0 or "yes"). For regression models it is a numeric value.Confidence score between
0 and 1 for the predicted class. Present for classification models, null for regression.The name of the target column the model was trained to predict.
Rate limit headers
Every response includes standard rate-limit headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Requests allowed in the current 60-second window |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the window resets |
Retry-After | Seconds to wait before retrying (only on 429) |