Update entity matching models by IDs or external IDs.
required | Array of ModelChangeById (object) or ModelChangeByExternalId (object) (ModelChange) [ 1 .. 1000 ] items |
Success
The response for a failed request.
from cognite.client.data_classes.contextualization import EntityMatchingModelUpdate client.entity_matching.update(EntityMatchingModelUpdate(id=1).name.set("New name"))
{- "items": [
- {
- "id": 1,
- "externalId": "my.known.id",
- "status": "Queued",
- "createdTime": 1730204346000,
- "startTime": 1730204346000,
- "statusTime": 1730204346000,
- "errorMessage": null,
- "name": "simple_model_1",
- "description": "Simple model 1",
- "featureType": "simple",
- "matchFields": [
- {
- "source": "name",
- "target": "name"
}, - {
- "source": "name",
- "target": "someField"
}
], - "ignoreMissingFields": true,
- "classifier": "randomforest",
- "originalId": 111
}
]
}