Coordinate data processing tasks

Repair the data source processing task status marked as requiring repair.

HTTP
POST $CLOUDSIGMA_API_BASE/semantic-models/{model_id}/source-jobs/reconcile

Before you call

Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. First query the knowledge base processing task list, and confirm that the knowledge base has a task that returns reconcile_required: true. Prepare a personal access token and target workspace ID that can access the target workspace.

Request parameters

Shell
curl -X POST "$CLOUDSIGMA_API_BASE/semantic-models/$MODEL_ID/source-jobs/reconcile" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Only called when the task returns reconcile_required: true.

Path parameters

Field

Type

Required

Description

model_id

integer

Yes

The knowledge base ID for processing task status needs to be fixed.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {
    "updated": true
  }
}

Field

Type

Description

code

string

OK on success.

msg

string

OK on success.

data

object

The return data of this operation.

data.updated

boolean

true indicates that task status repair has been performed.

Error response

JSON
{
  "code": "ErrNotFound",
  "msg": "resource not found",
  "data": null
}

Field

Type

Description

code

string

error code.

msg

string

Error description.

data

null

null on error.

Last updated on