Skip to main content
GET
/
models
/
statistics
/
spaces
Retrieve statistics by space
curl --request GET \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/models/statistics/spaces \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "space": "<string>",
      "containers": 123,
      "views": 123,
      "dataModels": 123,
      "edges": 123,
      "softDeletedEdges": 123,
      "nodes": 123,
      "softDeletedNodes": 123
    }
  ]
}

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.

Response

List of spaces with associated data modeling statistics

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