Create pipelines
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/context/entitymatching/pipelines \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"sources": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"targets": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"externalId": "my.known.id",
"name": "myPipeline",
"description": "My pipeline",
"modelParameters": {
"featureType": "bigram"
},
"trueMatches": [
{
"sourceId": 23
}
],
"confirmedMatches": [
{
"sourceId": 23
}
],
"rejectedMatches": [
{
"sourceId": 23
}
],
"useExistingMatches": false,
"generateRules": true,
"replacements": [
{
"field": "*",
"string": "Bottom-hole pressure",
"replacement": "bhp"
}
],
"rules": [],
"rejectedRules": [],
"scoreThreshold": 0.7,
"scheduleInterval": 7200
}
]
}
'{
"items": [
{
"id": 4503599627370496,
"createdTime": 1730204346000,
"sources": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"targets": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"lastUpdatedTime": 1730204346000,
"owner": "alice@example.com",
"externalId": "my.known.id",
"name": "myPipeline",
"description": "My pipeline",
"modelParameters": {
"featureType": "bigram"
},
"trueMatches": [
{
"sourceId": 23
}
],
"confirmedMatches": [
{
"sourceId": 23
}
],
"rejectedMatches": [
{
"sourceId": 23
}
],
"useExistingMatches": false,
"generateRules": true,
"replacements": [
{
"field": "*",
"string": "Bottom-hole pressure",
"replacement": "bhp"
}
],
"rules": [],
"rejectedRules": [],
"scoreThreshold": 0.7,
"scheduleInterval": 7200
}
]
}Create pipelines
Required capabilities:
entitymatchingAcl:WRITEassetsAcl:READtimeSeriesAcl:READeventsAcl:READsequencesAcl:READfilesAcl:READ
Create entity matching pipelines.
POST
/
context
/
entitymatching
/
pipelines
Create pipelines
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/context/entitymatching/pipelines \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"sources": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"targets": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"externalId": "my.known.id",
"name": "myPipeline",
"description": "My pipeline",
"modelParameters": {
"featureType": "bigram"
},
"trueMatches": [
{
"sourceId": 23
}
],
"confirmedMatches": [
{
"sourceId": 23
}
],
"rejectedMatches": [
{
"sourceId": 23
}
],
"useExistingMatches": false,
"generateRules": true,
"replacements": [
{
"field": "*",
"string": "Bottom-hole pressure",
"replacement": "bhp"
}
],
"rules": [],
"rejectedRules": [],
"scoreThreshold": 0.7,
"scheduleInterval": 7200
}
]
}
'{
"items": [
{
"id": 4503599627370496,
"createdTime": 1730204346000,
"sources": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"targets": {
"dataSetIds": [
{
"id": 4503599627370496
}
],
"resource": "assets"
},
"lastUpdatedTime": 1730204346000,
"owner": "alice@example.com",
"externalId": "my.known.id",
"name": "myPipeline",
"description": "My pipeline",
"modelParameters": {
"featureType": "bigram"
},
"trueMatches": [
{
"sourceId": 23
}
],
"confirmedMatches": [
{
"sourceId": 23
}
],
"rejectedMatches": [
{
"sourceId": 23
}
],
"useExistingMatches": false,
"generateRules": true,
"replacements": [
{
"field": "*",
"string": "Bottom-hole pressure",
"replacement": "bhp"
}
],
"rules": [],
"rejectedRules": [],
"scoreThreshold": 0.7,
"scheduleInterval": 7200
}
]
}Authorizations
oidc-tokenoauth2-client-credentialsoauth2-open-industrial-dataoauth2-auth-code
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.
Body
application/json
Pipelines to create
Required array length:
1 - 100 elementsShow child attributes
Show child attributes
Response
Created pipelines
Show child attributes
Show child attributes
Last modified on June 19, 2026
Was this page helpful?
⌘I