GET /v3/ml-worker/status
This endpoint retrieves the current status of an ML worker process, such as model training or model updating. You must provide the process_id
, which is returned from endpoints like /predict/**
or /model/update*
.
The possible status values returned are:
PENDING
– The data upload has been initiated and is in progress.SUCCESS
– The data was successfully uploaded to the Obviously AI account.FAILURE
– An error occurred while uploading the data to the Obviously AI account.If the status is FAILURE
, the response will include an error_message
field detailing the specific issue.
Key | Value |
---|---|
Authorization | YOUR_API_KEY |
Key | Type | Description |
---|---|---|
process_id | String | Target Process ID |
import requests
url = "<https://api.obviously.ai/v3/model/automl/feature-weights/{process_id}>"
headers = {
"Authorization": "ApiKey <YOUR_API_KEY>",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.json())
{
"status": "SUCCESS"
}