Skip to main content
POST
/
context
/
entitymatching
/
pipelines
/
update
Update pipelines
curl --request POST \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/context/entitymatching/pipelines/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "externalId": "my.known.id"
    }
  ]
}
'
{
  "items": [
    {
      "id": 4503599627370496,
      "createdTime": 1730204346000,
      "sources": {
        "dataSetIds": [
          {
            "externalId": "my.known.id"
          }
        ],
        "resource": "assets"
      },
      "targets": {
        "dataSetIds": [
          {
            "externalId": "my.known.id"
          }
        ],
        "resource": "assets"
      },
      "lastUpdatedTime": 1730204346000,
      "owner": "alice@example.com",
      "externalId": "my.known.id",
      "name": "myPipeline",
      "description": "My pipeline",
      "modelParameters": {
        "featureType": "bigram"
      },
      "trueMatches": [
        {
          "sourceId": 23,
          "targetExternalId": "my.known.id"
        }
      ],
      "confirmedMatches": [
        {
          "sourceId": 23,
          "targetExternalId": "my.known.id"
        }
      ],
      "rejectedMatches": [
        {
          "sourceId": 23,
          "targetExternalId": "my.known.id"
        }
      ],
      "useExistingMatches": false,
      "generateRules": true,
      "replacements": [
        {
          "field": "*",
          "string": "Bottom-hole pressure",
          "replacement": "bhp"
        }
      ],
      "rules": [],
      "rejectedRules": [],
      "scoreThreshold": 0.7,
      "scheduleInterval": 7200
    }
  ]
}

Authorizations

Authorization
string
header
required

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
items
object[]
required

Update patches to apply

Required array length: 1 - 100 elements

Update patch for a pipeline

Example:
{ "externalId": "my.known.id" }

Response

Updated pipelines

items
object[]
required
Last modified on April 23, 2026