New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const [updated] = await client.entityMatching.update([{
externalId: 'model123',
update: { description: { set: 'ø' }}
}]);{
"items": [
{
"id": 4503599627370496,
"externalId": "my.known.id",
"status": "Queued",
"createdTime": 1730204346000,
"startTime": 1730204346000,
"statusTime": 1730204346000,
"name": "simple_model_1",
"description": "Simple model 1",
"errorMessage": null,
"featureType": "simple",
"matchFields": [
{
"source": "name",
"target": "name"
},
{
"source": "name",
"target": "someField"
}
],
"ignoreMissingFields": true,
"classifier": "randomforest",
"originalId": 111
}
]
}Required capabilities:
entitymatchingAcl:WRITE
Update entity matching models by IDs or external IDs.
const [updated] = await client.entityMatching.update([{
externalId: 'model123',
update: { description: { set: 'ø' }}
}]);{
"items": [
{
"id": 4503599627370496,
"externalId": "my.known.id",
"status": "Queued",
"createdTime": 1730204346000,
"startTime": 1730204346000,
"statusTime": 1730204346000,
"name": "simple_model_1",
"description": "Simple model 1",
"errorMessage": null,
"featureType": "simple",
"matchFields": [
{
"source": "name",
"target": "name"
},
{
"source": "name",
"target": "someField"
}
],
"ignoreMissingFields": true,
"classifier": "randomforest",
"originalId": 111
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
1 - 1000 elementsChanges applied to model
Show child attributes
Success
Show child attributes
Was this page helpful?