Skip to main content
POST
/
models
/
containers
/
inspect
Inspect containers
curl --request POST \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/models/containers/inspect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inspectionOperations": {
    "involvedViews": {
      "allVersions": false
    },
    "totalInvolvedViewCount": {
      "allVersions": false,
      "includeUnavailableViews": true
    }
  },
  "items": [
    {
      "space": "<string>",
      "externalId": "<string>"
    }
  ]
}
'
{
  "items": [
    {
      "externalId": "<string>",
      "space": "<string>",
      "inspectionResults": {
        "involvedViewCount": 123,
        "involvedViews": [
          {
            "type": "view",
            "space": "<string>",
            "externalId": "<string>",
            "version": "<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

Which containers to inspect and the inspection operations to run.

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

Response

Containers along with the results of the inspection operations

items
object[]
required

List of container inspection results

Last modified on April 23, 2026