GET
https://{BaseURL}
/
api
/
public
/
datamodels
/
status
/
{task_id}
curl --request GET \
  --url https://{BaseURL}/api/public/datamodels/status/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<task id>",
    "model_id": "<model id>",
    "version": "<version>",
    "container_status": "<task status PENDING|RUNNING|STOPPED>",
    "run_code": "<run code 200 | 300 | 500>",
    "records_retrieved": "<records_retrieved>",
    "error description": "<error description>"
  }
}

Check the status of a model job. When you trigger a model to update, this endpoint can be helpful to keep track of the job status. It is, for instance, used in the orchestration template.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required

Response

200 - application/json

OK

The response is of type object.