Skip to main content
POST
/
models
/
instances
/
inspect
Python SDK
from cognite.client.data_classes.data_modeling import NodeId, EdgeId
res = client.data_modeling.instances.inspect(
    nodes=NodeId("my-space", "foo1"),
    edges=EdgeId("my-space", "bar2"),
)
{
  "items": [
    {
      "instanceType": "node",
      "externalId": "<string>",
      "space": "<string>",
      "inspectionResults": {
        "involvedViews": [
          {
            "type": "view",
            "space": "<string>",
            "externalId": "<string>",
            "version": "<string>"
          }
        ],
        "involvedContainers": [
          {
            "type": "container",
            "space": "<string>",
            "externalId": "<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.

Body

application/json

Change filter specification

inspectionOperations
object
required
items
object[]
required
Required array length: 1 - 1000 elements

Response

Instances along with which containers/views they are associated with

items
object[]
required

List of instance inspection results

Last modified on April 23, 2026