Machine Learning

List ML backends

Changed on
List all configured ML backends for a specific project by ID.
Use the following cURL command:
```bash
curl http://localhost:8000/api/ml?project={project_id} -H 'Authorization: Token abc123'
get/api/ml/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/ml/
  • Auth
    API key in header Authorization

Query parameters

is_interactiveboolean
projectinteger

Project ID

Response

auth_method'NONE' | 'BASIC_AUTH'
  • NONE - None
  • BASIC_AUTH - Basic Auth
auto_updateboolean

If false, model version is set by the user, if true - getting latest version from backend.

basic_auth_pass_is_setboolean required
basic_auth_userstring nullable

HTTP Basic Auth user

created_atstring date-time required
descriptionstring nullable

Description for the machine learning backend

error_messagestring nullable

Error message in error state

extra_paramsunknown
idinteger required
is_interactiveboolean

Used to interactively annotate tasks. If true, model returns one list with results

model_versionstring nullable

Current model version associated with this machine learning backend

projectinteger required
readable_statestring required
state'CO' | 'DI' | 'ER' | 'TR' | 'PR'
  • CO - Connected
  • DI - Disconnected
  • ER - Error
  • TR - Training
  • PR - Predicting
timeoutnumber double

Response model timeout

titlestring nullable

Name of the machine learning backend

updated_atstring date-time required
urlstring required

URL for the machine learning model server

Changes