curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/advancedjoins/estimatequality \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advancedJoinExternalId": "my.known.id",
"matcher": {
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
},
"dummyResponse": false
}
'{
"jobId": "<string>",
"status": "Queued",
"createdTime": 1730204346000,
"startTime": 1730204346000,
"statusTime": 1730204346000,
"advancedJoinExternalId": "my.known.id",
"matcher": {
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
},
"errorMessage": null,
"qualityScorePercent": 50,
"confidencePercent": 50,
"contextualizationScorePercent": 50
}Required capabilities:
entitymatchingAcl:READ
Estimate the contextualization quality of an advanced join using the matches (truth values) as reference.
The caller needs to have read access to the view they are querying.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/advancedjoins/estimatequality \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advancedJoinExternalId": "my.known.id",
"matcher": {
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
},
"dummyResponse": false
}
'{
"jobId": "<string>",
"status": "Queued",
"createdTime": 1730204346000,
"startTime": 1730204346000,
"statusTime": 1730204346000,
"advancedJoinExternalId": "my.known.id",
"matcher": {
"type": "raw",
"dbName": "<string>",
"tableName": "<string>",
"fromColumnKey": "<string>",
"toColumnKey": "<string>"
},
"errorMessage": null,
"qualityScorePercent": 50,
"confidencePercent": 50,
"contextualizationScorePercent": 50
}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.
The external ID provided by the client. Must be unique for the resource type.
255"my.known.id"
The Raw matcher can be used when you already have a collection of known matches, stored in a Raw table.
Show child attributes
Whether to return a bogus response that complies with the expected schema. This will be removed in a future iteration.
The resulting advanced join job.
ID of an advanced join job. These are always UUIDs.
The status of the job.
Queued, Running, Completed, Failed The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
The external ID provided by the client. Must be unique for the resource type.
255"my.known.id"
The Raw matcher can be used when you already have a collection of known matches, stored in a Raw table.
Show child attributes
If the job failed, some more information about the error cause.
null
The quality of the Join, calculated as the ratio of correctly mapped instances to all mapped instances.
0 <= x <= 1000 <= x <= 1000 <= x <= 100Was this page helpful?