Add ML backend
Add an ML backend to a project. For more information about what you need to configure when adding an ML backend, see Connect the model to Label studio.
If you are using Docker Compose, you may need to adjust your ML backend URL. See localhost and Docker containers.
If you are using files that are located in the cloud, local storage, or uploaded to Label Studio, you must configure your environment variables to allow the ML backend to interact with those files. See Allow the ML backend to access Label Studio.
Headers
Authorization
Header authentication of the form Token <token>
Request
This endpoint expects an object.
url
ML backend URL
project
Project ID
is_interactive
Is interactive
title
Title
description
Description
auth_method
Auth method
Allowed values:
basic_auth_user
Basic auth user
basic_auth_pass
Basic auth password
extra_params
Extra parameters
timeout
Response model timeout
Response
url
ML backend URL
project
Project ID
is_interactive
Is interactive
title
Title
description
Description
auth_method
Auth method
Allowed values:
basic_auth_user
Basic auth user
basic_auth_pass
Basic auth password
extra_params
Extra parameters
timeout
Response model timeout