Models

For endpoints that require a model ID (model_id), you can retrieve it in our app directly from the model URL.

Our model URLs follow the format below:

https://app.kondado.com.br/models/:model_id

Get Model Status

Description

Returns the status of a given model using its model_id.

Method

GET

Endpoint

/models/:model_id/status

URL Parameters

None

Example Response

{
    "success": true,
    "data": {
        "162": {
            "status": "active",
            "is_running": false,
            "is_active": true,
            "kubo_status_type": "operational"
        }
    }
}

Response Description

The response will be a JSON object where the model ID is used as the key of a nested JSON object containing the fields described below.

status

Status description. Possible values are:

  • running: The model is currently running.
  • scheduled: The model is queued for execution.
  • active: The model is not running and not queued, but is active.
  • not_active: The model is not running, not queued, and is disabled.

raw_msg

If the model encounters any issues, this field will contain the error description (for example, if we are unable to connect to your source or destination).

kubo_status_type

Describes the current state of the model. Possible values are:

  • not_published: The model is in draft mode.
  • rebuilding: The model was recently changed and has not yet been executed with its new configuration.
  • operational: The model is stable — it is not in draft mode and all changes have already been executed.

is_running

Boolean indicating whether the Pipeline is currently running (status = running).

is_active

Boolean indicating whether the Pipeline is active (status = active) or disabled (status = not_active).