Skip to main content
GET
/
context
/
entitymatching
/
pipelines
/
{pipelineId}
/
runs
/
{runId}
Get pipeline run results
curl --request GET \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/context/entitymatching/pipelines/{pipelineId}/runs/{runId} \
  --header 'Authorization: Bearer <token>'
{
  "status": "Completed",
  "createdTime": 1730204346000,
  "startTime": 1730204346000,
  "statusTime": 1730204346000,
  "jobId": 123,
  "errorMessage": null,
  "matches": [
    {
      "matchType": "model",
      "score": 0.98,
      "source": {
        "field": "value",
        "ignoredField": {
          "key": "value"
        }
      },
      "target": {
        "field": "value",
        "ignoredField": {
          "key": "value"
        }
      }
    }
  ],
  "suggestedRules": [
    {
      "matches": [
        {
          "sourceKeyField": "<string>",
          "targetKeyField": "<string>",
          "source": {},
          "target": {},
          "existingMatchType": "<string>",
          "consistentMatch": true
        }
      ],
      "inputPattern": "<string>",
      "predictPattern": "<string>",
      "numMatches": 14,
      "avgScore": 0.73,
      "matchIndex": [
        1,
        7
      ]
    }
  ],
  "generatedRules": [
    {
      "matches": [
        {
          "sourceKeyField": "<string>",
          "targetKeyField": "<string>",
          "source": {},
          "target": {},
          "existingMatchType": "<string>",
          "consistentMatch": true
        }
      ],
      "numConflicts": 3,
      "numOverlaps": 1
    }
  ],
  "errors": [
    "<string>"
  ]
}

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.

Path Parameters

pipelineId
integer<int64>
required

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
runId
integer<int64>
required

Contextualization job ID.

Example:

123

Response

Results of a pipeline run

status
enum<string>
required

The status of the job.

Available options:
Queued,
Running,
Completed,
Failed
Example:

"Completed"

createdTime
integer<int64>
required

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

startTime
integer<int64>
required

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

statusTime
integer<int64>
required

The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.

Required range: x >= 0
Example:

1730204346000

jobId
integer<int64>
required

Contextualization job ID.

Example:

123

errorMessage
string

If the job failed, some more information about the error cause.

Example:

null

matches
object[]
suggestedRules
object[]

Suggested rules based on matches

generatedRules
object[]
errors
string[]

Errors that occurred during the pipeline run, if any.

Last modified on April 23, 2026