curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/models/statistics \
--header 'Authorization: Bearer <token>'{
"spaces": {
"count": 123,
"limit": 123
},
"containers": {
"count": 123,
"limit": 123
},
"views": {
"count": 123,
"limit": 123
},
"dataModels": {
"count": 123,
"limit": 123
},
"containerProperties": {
"count": 123,
"limit": 123
},
"instances": {
"edges": 123,
"softDeletedEdges": 123,
"nodes": 123,
"softDeletedNodes": 123,
"instances": 123,
"instancesLimit": 123,
"softDeletedInstances": 123,
"softDeletedInstancesLimit": 123
},
"concurrentReadLimit": 123,
"concurrentWriteLimit": 123,
"concurrentDeleteLimit": 2
}Required capabilities:
DataModelsAcl:READ
Returns statistics and limits for data modeling resources across the project. Use this endpoint to monitor your overall data modeling usage and available capacity.
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/models/statistics \
--header 'Authorization: Bearer <token>'{
"spaces": {
"count": 123,
"limit": 123
},
"containers": {
"count": 123,
"limit": 123
},
"views": {
"count": 123,
"limit": 123
},
"dataModels": {
"count": 123,
"limit": 123
},
"containerProperties": {
"count": 123,
"limit": 123
},
"instances": {
"edges": 123,
"softDeletedEdges": 123,
"nodes": 123,
"softDeletedNodes": 123,
"instances": 123,
"instancesLimit": 123,
"softDeletedInstances": 123,
"softDeletedInstancesLimit": 123
},
"concurrentReadLimit": 123,
"concurrentWriteLimit": 123,
"concurrentDeleteLimit": 2
}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.
Statistics and limits for data modeling related resources in the project
Statistics and limits for data modeling related resources in a project
Usage and limits for spaces in the project
Show child attributes
Usage and limits for containers in the project
Show child attributes
Usage and limits for views including all versions in the project
Show child attributes
Usage and limits for data models including all versions in the project
Show child attributes
Usage and limits for sum of container properties in the project
Show child attributes
Usage and limits for number of instances in the project
Show child attributes
Maximum number of concurrent read operations allowed in the project
Maximum number of concurrent write operations allowed in the project
Maximum number of concurrent delete operations allowed in the project
x >= 1Was this page helpful?