v77

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-045764591.5 MB
Machine Learning

✨ Create predictions for all tasks

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card>

Create predictions for all tasks using a specific ML backend so that you can set up an active learning strategy based on the confidence or uncertainty scores associated with the predictions. Creating predictions requires a Label Studio ML backend set up and configured for your project.

See Set up machine learning for more details about a Label Studio ML backend.

Reference the ML backend ID in the path of this API call. Get the ML backend ID by listing the ML backends for a project.

post/api/ml/{id}/predict

Path parameters

idinteger required

A unique integer value identifying this ML backend.

Query parameters

batch_sizeinteger

Computed number of tasks without predictions that the ML backend needs to predict.

Response

Predictions have successfully started.